public class DeploymentActionImpl extends Object implements DeploymentAction, Serializable
DeploymentAction.DeploymentAction.Typepublic static DeploymentActionImpl getAddAction(String deploymentName, String fileName, byte[] hash)
public static DeploymentActionImpl getDeployAction(String deploymentName)
public static DeploymentActionImpl getRedeployAction(String deploymentName)
public static DeploymentActionImpl getUndeployAction(String deploymentName)
public static DeploymentActionImpl getReplaceAction(String deploymentName, String replacedName)
public static DeploymentActionImpl getFullReplaceAction(String deploymentName, String fileName, byte[] hash)
public static DeploymentActionImpl getRemoveAction(String deploymentName)
public UUID getId()
DeploymentActiongetId in interface DeploymentActionnullpublic DeploymentAction.Type getType()
DeploymentActiongetType in interface DeploymentActionnullpublic String getDeploymentUnitUniqueName()
DeploymentActionDeploymentAction.Type.ADD or DeploymentAction.Type.FULL_REPLACE action
is requested. API methods that request other types of actions
will ask for this name as a parameter.getDeploymentUnitUniqueName in interface DeploymentActionnullpublic String getReplacedDeploymentUnitUniqueName()
DeploymentActionDeploymentAction.Type.REPLACE and DeploymentAction.Type.FULL_REPLACE only, returns the name
of the content that is being replaced.getReplacedDeploymentUnitUniqueName in interface DeploymentActionnull if
DeploymentAction.getType() is not DeploymentAction.Type.REPLACE or DeploymentAction.Type.FULL_REPLACE.
Will not be null otherwisepublic String getNewContentFileName()
public byte[] getNewContentHash()
Copyright © 2018 JBoss by Red Hat. All rights reserved.