Class ChainsRequest
- java.lang.Object
-
- com.carfey.ops.api.bean.system.restore.ChainsRequest
-
public class ChainsRequest extends java.lang.ObjectUsed to update job chain configuration on aSystemRestoreConfigurationviaSystemRestoreManager.- Since:
- 3.0
- See Also:
GeneralSubscriptionUpdateRequest
-
-
Constructor Summary
Constructors Constructor Description ChainsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JobChainSaveRequest>getItems()booleanisReplaceAll()This flag is used to determine what action to take when Job Chains already exist in Obsidian.voidsetItems(java.util.List<JobChainSaveRequest> items)voidsetReplaceAll(boolean replaceAll)java.lang.StringtoString()ChainsRequestwithItems(java.util.List<JobChainSaveRequest> items)ChainsRequestwithReplaceAll(boolean replaceAll)
-
-
-
Method Detail
-
isReplaceAll
public boolean isReplaceAll()
This flag is used to determine what action to take when Job Chains already exist in Obsidian. If no chains exist, this flag is ignored and eachgetItemsdefined will be created. If chains exist and this flag is false, no action is taken on thegetItems. If chains exist and this flag is true, all existing chains are first deleted, then eachgetItemsdefined will be created.- Returns:
- replace all setting
-
setReplaceAll
public void setReplaceAll(boolean replaceAll)
-
withReplaceAll
public ChainsRequest withReplaceAll(boolean replaceAll)
-
getItems
public java.util.List<JobChainSaveRequest> getItems()
-
setItems
public void setItems(java.util.List<JobChainSaveRequest> items)
-
withItems
public ChainsRequest withItems(java.util.List<JobChainSaveRequest> items)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-