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()
FallbackRule
applyToCollection
in interface FallbackRule
public String getToCollection()
public boolean mustBeContextCollection()
FallbackRule
mustBeContextCollection
in interface FallbackRule