public class DeploymentActionImpl extends Object implements DeploymentAction, Serializable
DeploymentAction
.DeploymentAction.Type
public static DeploymentActionImpl getAddAction(String deploymentName, String fileName, InputStream in, boolean internalStream)
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, InputStream in, boolean internalStream)
public static DeploymentActionImpl getRemoveAction(String deploymentName)
public UUID getId()
DeploymentAction
getId
in interface DeploymentAction
null
public DeploymentAction.Type getType()
DeploymentAction
getType
in interface DeploymentAction
null
public String getDeploymentUnitUniqueName()
DeploymentAction
DeploymentAction.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 DeploymentAction
null
public String getReplacedDeploymentUnitUniqueName()
DeploymentAction
DeploymentAction.Type.REPLACE
and DeploymentAction.Type.FULL_REPLACE
only, returns the name
of the content that is being replaced.getReplacedDeploymentUnitUniqueName
in interface DeploymentAction
null
if
DeploymentAction.getType()
is not DeploymentAction.Type.REPLACE
or DeploymentAction.Type.FULL_REPLACE
.
Will not be null
otherwisepublic String getNewContentFileName()
public InputStream getContentStream()
public boolean isInternalStream()
Copyright © 2023 JBoss by Red Hat. All rights reserved.