public class DeploymentActionImpl extends Object implements DeploymentAction, Serializable
DeploymentAction.DeploymentAction.Typepublic 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()
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 InputStream getContentStream()
public Map<String,InputStream> getContents()
public boolean isInternalStream()
Copyright © 2018 JBoss by Red Hat. All rights reserved.