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

Author:
Paul Merlin

Field Summary
static String CONTEXTROOT_OPT
           
static String DEPLOY
           
static String FORCE_OPT
           
static String NAME_OPT
           
static String TARGET_OPT
           
static String UNDEPLOY
           
 
Constructor Summary
Deployment()
           
 
Method Summary
 Deployment appName(String appName)
           
 Deployment archive(String archive)
           
 Deployment component(String component)
           
 Deployment deploy()
           
 Deployment force(boolean force)
           
 String getActionCommand()
           
 String[] getParameters()
           
 boolean needCredentials()
           
 Deployment target(String target)
           
 Deployment undeploy()
           
 Deployment withContextRoot(String contextRoot)
           
 
Methods inherited from class org.n0pe.asadmin.AbstractAsAdminCmd
getErrorOutput, getStandardOutput, handlePasswordFile
 
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

UNDEPLOY

public static final String UNDEPLOY
See Also:
Constant Field Values

FORCE_OPT

public static final String FORCE_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
Constructor Detail

Deployment

public Deployment()
Method Detail

deploy

public Deployment deploy()

undeploy

public Deployment undeploy()

archive

public Deployment archive(String archive)

component

public Deployment component(String component)

withContextRoot

public Deployment withContextRoot(String contextRoot)

force

public Deployment force(boolean force)

appName

public Deployment appName(String appName)

target

public Deployment target(String target)

needCredentials

public boolean needCredentials()

getActionCommand

public String getActionCommand()

getParameters

public String[] getParameters()


Copyright © 2012. All Rights Reserved.