public class Main extends Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doRun(Main main) |
protected String |
findWar(String... paths)
Strategy method where we could use some smarts to find the war
using known paths or maybe the local maven repository?
|
String |
getContextPath() |
String |
getExtraClassPath() |
int |
getPort() |
String |
getWar() |
String |
getWarLocation() |
String[] |
getWarPaths() |
boolean |
isJoinServerThread() |
protected boolean |
isWarFileName(String name) |
static void |
main(String[] args) |
void |
run() |
void |
run(boolean join) |
void |
setContextPath(String contextPath) |
void |
setExtraClassPath(String extraClassPath) |
void |
setJoinServerThread(boolean joinServerThread) |
void |
setPort(int port) |
void |
setWar(String war) |
void |
setWarLocation(String warLocation) |
void |
setWarPaths(String... warPaths)
Sets a list of paths searched for to find the war if no war property is specified
via
setWar(String) |
public static void main(String[] args)
public static void doRun(Main main)
protected String findWar(String... paths)
protected boolean isWarFileName(String name)
public String getContextPath()
public void setContextPath(String contextPath)
public int getPort()
public void setPort(int port)
public String getWar()
public void setWar(String war)
public String[] getWarPaths()
public String getWarLocation()
public void setWarLocation(String warLocation)
public void setWarPaths(String... warPaths)
setWar(String)public String getExtraClassPath()
public void setExtraClassPath(String extraClassPath)
public boolean isJoinServerThread()
public void setJoinServerThread(boolean joinServerThread)
Copyright © 2013. All Rights Reserved.