public interface LiveRelationship extends JSONItem
LiveCopy
the LiveRelationship defines the "dynamic"
relation between a source and a synced target. where as the former only
defines its configuration.
Please note that its not possible to have different relative paths from the
roots to the source/target resources. This could happen if a source or
target resource are moved or renamed. Having trees that are not in sync
hirarchy wise will probably end in chaos sooner or later. Such operations
need to be prohibited or the respective changes need to be rolledout to
all targets.Modifier and Type | Method and Description |
---|---|
LiveCopy |
getLiveCopy()
Returns the Live Copy configuration of this relationship
|
java.util.List<RolloutConfig> |
getRolloutConfigs()
Returns the computed
RolloutConfig of this relationship (blueprint configs + live copy configs) |
java.util.List<RolloutConfig> |
getRolloutConfigs(RolloutManager.Trigger trigger)
Returns the computed
RolloutConfig of this relationship (blueprint configs + live copy configs)
filtered with the specified trigger. |
java.lang.String |
getSourcePath()
Returns the absolute path of the source resource of this relationship.
|
LiveStatus |
getStatus()
Returns the status of this relationship
|
java.lang.String |
getSyncPath()
Returns the relative path of this relationship from the sync roots to
the actual resources.
|
java.lang.String |
getTargetPath()
Returns the absolute path of the live sync resource.
|
boolean |
isTrigger(RolloutManager.Trigger trigger)
Returns if the current relationship contains at least one
RolloutConfig with the
specified trigger. |
LiveCopy getLiveCopy()
java.lang.String getSyncPath()
java.lang.String getSourcePath()
lr.getLiveCopy().getBlueprintPath() + lr.getSyncPath()
java.lang.String getTargetPath()
lr.getLiveCopy().getPath() + lr.getSyncPath()
LiveStatus getStatus()
java.util.List<RolloutConfig> getRolloutConfigs()
RolloutConfig
of this relationship (blueprint configs + live copy configs)java.util.List<RolloutConfig> getRolloutConfigs(RolloutManager.Trigger trigger)
RolloutConfig
of this relationship (blueprint configs + live copy configs)
filtered with the specified trigger.trigger
- Filters the list with the specified triggerboolean isTrigger(RolloutManager.Trigger trigger)
RolloutConfig
with the
specified trigger.trigger
- the trigger to checkCopyright © 2010 - 2020 Adobe. All Rights Reserved