org.jclouds.scriptbuilder.domain
Class InitMetadata

java.lang.Object
  extended by org.jclouds.scriptbuilder.domain.InitMetadata
Direct Known Subclasses:
JavaInitMetadata

public class InitMetadata
extends Object

Defines the environment of a process that can be started in the background on an operating system.

Author:
Adrian Cole

Constructor Summary
InitMetadata(String name, String platformHome, URI endPoint, String startDir, String stopDir, String configDir, String dataDir, String logDir, String goldDir)
           
 
Method Summary
 String getConfigDir()
          holds configuration files of the process.
 String getDataDir()
          holds files that are generated at runtime, but are not temporary.
 URI getEndPoint()
          the named ip and port that this process will bind server sockets to, as well the protocol used to test it.
 String getGoldDir()
          on-disk, read-only location of the artifacts needed to recreate this process.
 String getLogDir()
          where all logs are written.
 String getName()
          what uniquely identifies your process in a listing.
 String getPlatformHome()
          Where the platform that this process is an instance of is located.
 String getStartDir()
          working directory when starting the server.
 String getStopDir()
          working directory when stopping the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitMetadata

public InitMetadata(String name,
                    String platformHome,
                    URI endPoint,
                    String startDir,
                    String stopDir,
                    String configDir,
                    String dataDir,
                    String logDir,
                    String goldDir)
Method Detail

getStartDir

public String getStartDir()
working directory when starting the server.


getStopDir

public String getStopDir()
working directory when stopping the server.


getPlatformHome

public String getPlatformHome()
Where the platform that this process is an instance of is located. This is analogous to the CATALINA_HOME on the tomcat platform.


getName

public String getName()
what uniquely identifies your process in a listing. Note that this will become a part of the process args.


getConfigDir

public String getConfigDir()
holds configuration files of the process. These are generated or copied from data in the gold copy directory.


getDataDir

public String getDataDir()
holds files that are generated at runtime, but are not temporary. Ex. customer data, state, etc. These files survive recreation of the instance.


getLogDir

public String getLogDir()
where all logs are written. The following files are created here:


getGoldDir

public String getGoldDir()
on-disk, read-only location of the artifacts needed to recreate this process.


getEndPoint

public URI getEndPoint()
the named ip and port that this process will bind server sockets to, as well the protocol used to test it.



Copyright © 2009-2011 jclouds. All Rights Reserved.