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 getAddAction(String deploymentName, String fileName, Path in)
public static DeploymentActionImpl getAddContentAction(String deploymentName, Map<String,InputStream> contents)
public static DeploymentActionImpl getAddContentFileAction(String deploymentName, Map<String,Path> files)
public static DeploymentActionImpl getDeployAction(String deploymentName)
public static DeploymentActionImpl getExplodeAction(String deploymentName, String path)
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 getFullReplaceAction(String deploymentName, String fileName, Path in, boolean internalStream)
public static DeploymentActionImpl getRemoveAction(String deploymentName)
public static DeploymentActionImpl getRemoveContentAction(String deploymentName, List<String> fileNames)
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 Map<String,InputStream> getContents()
public boolean isInternalStream()
Copyright © 2021 JBoss by Red Hat. All rights reserved.