public interface VirtualizeAction extends CSOAction, PublishAction
The state change sequences of VirtualizeAction: _ _ _ _ _ _ _ _ _ _ _ _ | | | | | INITIAL | ---> CONFIGURE_ENDPOINTS ---> CONFIGURE_POLICY_ACTIONS ---> CONFIGURE_TARGETS ---> SHOW_DEPLOYMENT_STATUS ---> | COMPLETED | |_ _ _ _ _ _| |_ _ _ _ _ _|
Modifier and Type | Method and Description |
---|---|
java.util.List<CentraSiteRegistryObject> |
getAliases()
Returns the existing alias for the selected service.
|
java.util.List<Target> |
getDeployedTargets()
Gets the list of targets to deploy.
|
java.lang.String |
getEndpointName(java.lang.String endpointId)
Gets the endpoint name from the endpoint id.
|
java.util.Map<java.lang.String,java.lang.String> |
getEndPoints()
Gets the endpoints supported by the Service.
|
boolean |
getEnforceActionCondition()
Gets the enforce action condition.
|
com.softwareag.centrasite.api.csom.policy.MessageFlow |
getMessageFlow()
Gets the
MessageFlow . |
java.util.List<java.lang.String> |
getMessageFlowSteps(java.lang.String policyActionTemplateId)
This method gets the message flow steps applicable for the given policy action template.
|
com.softwareag.centrasite.api.csom.policy.PolicyActionTree |
getPolicyActionsTree()
Gets the
PolicyActionTree , which is used to render PolicyActionTemplates in
hierarchical order. |
java.lang.String |
getSelectedEndPoint(java.lang.String aliasId)
Return the selected end point for the given alias.
|
boolean |
isDuplicateAliasName(java.lang.String aliasName)
Checks if the given alias already exists with virtual intances.
|
boolean |
isUserCanPublish()
Checks if the logged in user can publish to Mediator.
|
boolean |
isVisibleToEveryOne()
Returns whether the publishing asset can be viewed by every one or not.
|
void |
setAliasName(java.lang.String aliasName)
Sets the alias name.
|
void |
setEndPointOrResource(java.lang.String endPointOrResourceId)
Sets the user selected end point for service or resource for REST/XML service.
|
void |
setEnforceActionCondition(boolean enforceActionCondition)
Sets the AND/OR condition for enforcing actions.
|
void |
setExistingAlias(java.lang.String aliasId)
Sets the existing alias id.
|
void |
setMessageFlow(com.softwareag.centrasite.api.csom.policy.MessageFlow messageFlow)
Set the
MessageFlow constructed with the user selected policy Actions. |
void |
setVirtualize(boolean virtualize)
In case this is set to true, perform the virtualization without publishing and Virtualize
Action gets completed.
|
getAliasListForUnDeploy, getApplicableTargets, getFailedDeploymentMessages, getProgress, getSelectedAliases, getUnPublishAliasList, isBaseType, setAliasListForUnDeploy, setSelectedAliases, setTargets, setVisibleToEveryOne
cancel, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
void setAliasName(java.lang.String aliasName)
aliasName
- the alias name to setvoid setExistingAlias(java.lang.String aliasId)
aliasId
- set the exiting virtual alias id.java.util.List<CentraSiteRegistryObject> getAliases() throws CLLException
getAliases
in interface PublishAction
CLLException
- If an error is encountered while trying to get the aliasesjava.util.Map<java.lang.String,java.lang.String> getEndPoints() throws CLLException
Map
having the
service binding id as the key and the access URI as the value.CLLException
- If an error occurs while trying to find the service bindings for the service
or while trying to get the access URI for a service bindingvoid setEndPointOrResource(java.lang.String endPointOrResourceId)
endPointOrResourceId
- end point or resource identifier.void setVirtualize(boolean virtualize)
virtualize
- true - in case of user want to Virtualize with out publishing the asset.com.softwareag.centrasite.api.csom.policy.PolicyActionTree getPolicyActionsTree() throws CLLException
PolicyActionTree
, which is used to render PolicyActionTemplates in
hierarchical order.PolicyActionTree
instanceCLLException
- In case of a failure to construct the PolicyActionTree instancecom.softwareag.centrasite.api.csom.policy.MessageFlow getMessageFlow() throws CLLException
MessageFlow
.MessageFlow
instanceCLLException
- In case of a failure to get the MessageFlow instancevoid setMessageFlow(com.softwareag.centrasite.api.csom.policy.MessageFlow messageFlow)
MessageFlow
constructed with the user selected policy Actions.messageFlow
- MessageFlow
to setvoid setEnforceActionCondition(boolean enforceActionCondition)
enforceActionCondition
- true - means OR will be used for enforcing actions condition,
false - means AND will be used for enforcing actions conditionboolean getEnforceActionCondition() throws CLLException
CLLException
- If an error is encountered trying to get the valuejava.util.List<java.lang.String> getMessageFlowSteps(java.lang.String policyActionTemplateId) throws CLLException
policyActionTemplateId
- CentraSiteObject.getId()
List
of message flow steps identifiersCLLException
- In case of a failure to find the applicable message flow steps.java.lang.String getSelectedEndPoint(java.lang.String aliasId) throws CLLException
aliasId
- alias identifier.CLLException
- In case of a failure to find the selected endpoint for the given alias.java.lang.String getEndpointName(java.lang.String endpointId) throws CLLException
endpointId
- The endpoint id.CLLException
- If an error occurs while trying to get the endpoint nameboolean isUserCanPublish() throws CLLException
CLLException
- If an error occurs while trying to perform the checkboolean isVisibleToEveryOne() throws CLLException
CLLException
- In case of a failure to verify whether this can be visible to every one or not.java.util.List<Target> getDeployedTargets() throws CLLException
List
of Target
s to deploy.CLLException
- If an error occurs while trying to get the deployed targetsboolean isDuplicateAliasName(java.lang.String aliasName) throws CLLException
aliasName
- The alias name to check.CLLException
- If an error occurs while trying to check for the duplicate aliases