org.n0pe.asadmin.commands
Class Deployment

java.lang.Object
  extended by org.n0pe.asadmin.AbstractAsAdminCmd
      extended by org.n0pe.asadmin.commands.Deployment
All Implemented Interfaces:
IAsAdminCmd

public class Deployment
extends AbstractAsAdminCmd


Field Summary
static String AVAILABILITY_OPT
           
static String CONTEXTROOT_OPT
           
static String DEPLOY
           
static String FORCE_OPT
           
static String NAME_OPT
           
static String PRECOMPILE_JSP_OPT
           
static String REDEPLOY
           
static String TARGET_OPT
           
static String UNDEPLOY
           
static String UPLOAD_OPT
           
static String VIRTUAL_SERVERS_OPT
           
 
Fields inherited from class org.n0pe.asadmin.AbstractAsAdminCmd
EMPTY_ARRAY
 
Constructor Summary
Deployment()
           
 
Method Summary
 Deployment appName(String appName)
           
 Deployment archive(String archive)
           
 Deployment availability(boolean haEnable)
           
 Deployment component(String component)
           
 Deployment deploy()
           
 Deployment force(boolean force)
           
 String getActionCommand()
           
 String[] getParameters()
           
 boolean needCredentials()
           
 Deployment precompilejsp(boolean precompilejsp)
           
 Deployment redeploy()
           
 Deployment target(String target)
           
 Deployment undeploy()
           
 Deployment upload(boolean upload)
           
 Deployment virtualServers(String virtualServers)
           
 Deployment withContextRoot(String contextRoot)
           
 
Methods inherited from class org.n0pe.asadmin.AbstractAsAdminCmd
failOnNonZeroExit, getErrorOutput, getStandardOutput, handlePasswordFile, setOkayErrorPattern, setOkayStdOutPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPLOY

public static final String DEPLOY
See Also:
Constant Field Values

REDEPLOY

public static final String REDEPLOY
See Also:
Constant Field Values

UNDEPLOY

public static final String UNDEPLOY
See Also:
Constant Field Values

FORCE_OPT

public static final String FORCE_OPT
See Also:
Constant Field Values

UPLOAD_OPT

public static final String UPLOAD_OPT
See Also:
Constant Field Values

CONTEXTROOT_OPT

public static final String CONTEXTROOT_OPT
See Also:
Constant Field Values

NAME_OPT

public static final String NAME_OPT
See Also:
Constant Field Values

TARGET_OPT

public static final String TARGET_OPT
See Also:
Constant Field Values

AVAILABILITY_OPT

public static final String AVAILABILITY_OPT
See Also:
Constant Field Values

PRECOMPILE_JSP_OPT

public static final String PRECOMPILE_JSP_OPT
See Also:
Constant Field Values

VIRTUAL_SERVERS_OPT

public static final String VIRTUAL_SERVERS_OPT
See Also:
Constant Field Values
Constructor Detail

Deployment

public Deployment()
Method Detail

deploy

public Deployment deploy()

undeploy

public Deployment undeploy()

redeploy

public Deployment redeploy()

archive

public Deployment archive(String archive)

component

public Deployment component(String component)

withContextRoot

public Deployment withContextRoot(String contextRoot)

force

public Deployment force(boolean force)

upload

public Deployment upload(boolean upload)

precompilejsp

public Deployment precompilejsp(boolean precompilejsp)

appName

public Deployment appName(String appName)

target

public Deployment target(String target)

availability

public Deployment availability(boolean haEnable)

virtualServers

public Deployment virtualServers(String virtualServers)

needCredentials

public boolean needCredentials()

getActionCommand

public String getActionCommand()

getParameters

public String[] getParameters()


Copyright © 2013. All Rights Reserved.