FileDocCategorySizeDatePackage
DeploymentCommand.javaAPI DocGlassfish v2 API3035Fri May 04 22:34:30 BST 2007com.sun.enterprise.deployment.backend

DeploymentCommand

public final class DeploymentCommand extends Object
author
bnevins
version

Fields Summary
public static final DeploymentCommand
DEPLOY
public static final DeploymentCommand
UNDEPLOY
protected static final DeploymentCommand
REDEPLOY
private String
name
Constructors Summary
private DeploymentCommand(String name)

		this.name = name;
	
Methods Summary
public java.lang.StringtoString()

		return name;
	
public static com.sun.enterprise.deployment.backend.DeploymentCommandvalueOf(java.lang.String s)

		if(s.equals(DEPLOY.toString()))
			return DEPLOY;
		if(s.equals(UNDEPLOY.toString()))
			return UNDEPLOY;
		if(s.equals(REDEPLOY.toString()))
			return REDEPLOY;

		return null;