public class RenameFallbackRule extends Object implements FallbackRule
| Constructor and Description |
|---|
RenameFallbackRule(String fromCollection,
String toCollection)
Creates a new instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
applyToCollection()
Gets the identifier of the collection that this rule should be applied to.
|
String |
getToCollection()
Gets the new identifier for this collection
|
boolean |
mustBeContextCollection()
Returns true of the rule can only be applied to the context collection,
in other words the collection that triggers the fallback actions.
|
public String applyToCollection()
FallbackRuleapplyToCollection in interface FallbackRulepublic String getToCollection()
public boolean mustBeContextCollection()
FallbackRulemustBeContextCollection in interface FallbackRule