com.esri.client.local
Class ServerLaunchConfig

java.lang.Object
  extended by com.esri.client.local.ServerLaunchConfig

public class ServerLaunchConfig
extends Object

The Class ServerLaunchConfig.


Constructor Summary
ServerLaunchConfig()
           
 
Method Summary
static ServerLaunchConfig fromJson(File configFile)
          Creates a launch configuration from JSON.
 String[] getArgs()
          Gets the arguments.
 String getServerExe()
          Gets the server executable path.
 String getServerLocationEnv()
          Gets the server location environment.
 void setArgs(String[] args)
          Sets the arguments.
 void setServerExe(String serverExePath)
          Sets the server executable path.
 void setServerLocationEnv(String serverLocationEnv)
          Sets the server location environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerLaunchConfig

public ServerLaunchConfig()
Method Detail

getServerExe

public String getServerExe()
Gets the server executable path.

Returns:
the path

setServerExe

public void setServerExe(String serverExePath)
Sets the server executable path.

Parameters:
serverExePath - the new server executable path

getArgs

public String[] getArgs()
Gets the arguments.

Returns:
the arguments

setArgs

public void setArgs(String[] args)
Sets the arguments.

Parameters:
args - the new arguments

setServerLocationEnv

public void setServerLocationEnv(String serverLocationEnv)
Sets the server location environment.

Parameters:
serverLocationEnv - the new server location environment.

getServerLocationEnv

public String getServerLocationEnv()
Gets the server location environment.

Returns:
the server location environment.

fromJson

public static ServerLaunchConfig fromJson(File configFile)
Creates a launch configuration from JSON.

Parameters:
configFile - the configuration file
Returns:
the server launch configuration


Copyright © 2012. All Rights Reserved.