org.millscript.millscript.conf
Class ApiConf

java.lang.Object
  extended by org.millscript.millscript.conf.AbstractConfiguration
      extended by org.millscript.millscript.conf.ApiConf
All Implemented Interfaces:
Configuration

public class ApiConf
extends AbstractConfiguration

Author:
moya

Field Summary
 
Fields inherited from class org.millscript.millscript.conf.AbstractConfiguration
cwd, htmlCharacterEntities, loaderBuilder, logger, outputCharset, properties, vfs, xmlCharacterEntities
 
Fields inherited from interface org.millscript.millscript.conf.Configuration
CACHE_NAME, CONF_NAME, DOT_WEBSITE_NAME, INVENTORY_NAME, LIB_NAME, OUTPUT_NAME, PACKAGE_CONF_FILE, USER_CONF_FILE, VAR_NAME, WEBSITE_CONF_FILE, WEBSITE_FAILURE_FILE, WEBSITE_LOCK_FILE, WEBSITE_SUCCESSS_FILE
 
Constructor Summary
ApiConf()
           
 
Method Summary
 java.lang.String getInteractivePrompt()
          Returns the prompt MillScript should use during a session.
 org.millscript.commons.vfs.VFolder getStandardConfFolder()
          Returns the location of the standard configuration folder.
 org.millscript.commons.vfs.VFile getStandardConfigurationFile()
          Returns the location of the user configuration file.
 org.millscript.commons.vfs.VFolder getStandardInventoryFolder()
          Returns the location of the standard inventory.
 org.millscript.commons.vfs.VFolder getStandardLibFolder()
          Returns the location of the standard library folder.
 org.millscript.commons.vfs.VFolder getWebsiteCacheFolder()
          Returns the location of the websites cache folder.
 org.millscript.commons.vfs.VFolder getWebsiteConfFolder()
          Returns the location of the websites configuration folder.
 org.millscript.commons.vfs.VFile getWebsiteConfigurationFile()
          Returns the location of the website configuration file.
 org.millscript.commons.vfs.VFile getWebsiteFailureFile()
          Returns the location of the website lock file.
 org.millscript.commons.vfs.VFolder getWebsiteInventoryFolder()
          Returns the location of the websites inventory.
 org.millscript.commons.vfs.VFolder getWebsiteLibFolder()
          Returns the location of the websites library folder.
 org.millscript.commons.vfs.VFile getWebsiteLockFile()
          Returns the location of the website lock file.
 org.millscript.commons.vfs.VFolder getWebsiteOutputFolder()
          Returns the location of the websites output folder.
 org.millscript.commons.vfs.VFile getWebsiteSuccessFile()
          Returns the location of the website success file.
 org.millscript.commons.vfs.VFolder getWebsiteVarFolder()
          Returns the location of the websites var folder.
 
Methods inherited from class org.millscript.millscript.conf.AbstractConfiguration
getBooleanProperty, getCurrentWorkingFolder, getHTMLCharacterEntity, getLoaderBuilder, getLogger, getOutputCharset, getPackageConfFile, getProperty, getStandardEngine, getStandardPackage, getVFS, getXMLCharacterEntity, reportAlertAsMishap, reportAlertAsWarning, reportException, setLogger, setOutputCharset, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiConf

public ApiConf()
Method Detail

getInteractivePrompt

public java.lang.String getInteractivePrompt()
Description copied from interface: Configuration
Returns the prompt MillScript should use during a session. This should be null for an batch session and whatever string the user desires for an interactive session.

Returns:
a String containing the interactive prompt
See Also:
Configuration.getInteractivePrompt()

getStandardConfFolder

public org.millscript.commons.vfs.VFolder getStandardConfFolder()
Description copied from interface: Configuration
Returns the location of the standard configuration folder.

Returns:
a VFolder object pointing to the standard configuration folder.
See Also:
Configuration.getStandardConfFolder()

getStandardConfigurationFile

public org.millscript.commons.vfs.VFile getStandardConfigurationFile()
Description copied from interface: Configuration
Returns the location of the user configuration file.

Returns:
a VFile object pointing to the user configuration file.
See Also:
Configuration.getStandardConfigurationFile()

getStandardInventoryFolder

public org.millscript.commons.vfs.VFolder getStandardInventoryFolder()
Description copied from interface: Configuration
Returns the location of the standard inventory.

Returns:
a VFolder object pointing to the standard inventory folder.
See Also:
Configuration.getStandardInventoryFolder()

getStandardLibFolder

public org.millscript.commons.vfs.VFolder getStandardLibFolder()
Description copied from interface: Configuration
Returns the location of the standard library folder.

Returns:
a VFolder object pointing to the standard library folder.
See Also:
Configuration.getStandardLibFolder()

getWebsiteCacheFolder

public org.millscript.commons.vfs.VFolder getWebsiteCacheFolder()
Description copied from interface: Configuration
Returns the location of the websites cache folder.

Returns:
a VFolder object pointing to the websites cache folder.
See Also:
Configuration.getWebsiteCacheFolder()

getWebsiteConfFolder

public org.millscript.commons.vfs.VFolder getWebsiteConfFolder()
Description copied from interface: Configuration
Returns the location of the websites configuration folder.

Returns:
a VFolder object pointing to the websites configuration folder.
See Also:
Configuration.getWebsiteConfFolder()

getWebsiteConfigurationFile

public org.millscript.commons.vfs.VFile getWebsiteConfigurationFile()
Description copied from interface: Configuration
Returns the location of the website configuration file.

Returns:
a VFile object pointing to the website configuration file.
See Also:
Configuration.getWebsiteConfigurationFile()

getWebsiteFailureFile

public org.millscript.commons.vfs.VFile getWebsiteFailureFile()
Description copied from interface: Configuration
Returns the location of the website lock file.

Returns:
a VFile object pointing to the website lock file.
See Also:
Configuration.getWebsiteFailureFile()

getWebsiteInventoryFolder

public org.millscript.commons.vfs.VFolder getWebsiteInventoryFolder()
Description copied from interface: Configuration
Returns the location of the websites inventory. This is the inventory associated with the website script.

Returns:
a VFolder object pointing to the websites inventory folder.
See Also:
Configuration.getWebsiteInventoryFolder()

getWebsiteLibFolder

public org.millscript.commons.vfs.VFolder getWebsiteLibFolder()
Description copied from interface: Configuration
Returns the location of the websites library folder.

Returns:
a VFolder object pointing to the websites library folder.
See Also:
Configuration.getWebsiteLibFolder()

getWebsiteLockFile

public org.millscript.commons.vfs.VFile getWebsiteLockFile()
Description copied from interface: Configuration
Returns the location of the website lock file.

Returns:
a VFile object pointing to the website lock file.
See Also:
Configuration.getWebsiteLockFile()

getWebsiteOutputFolder

public org.millscript.commons.vfs.VFolder getWebsiteOutputFolder()
Description copied from interface: Configuration
Returns the location of the websites output folder.

Returns:
a VFolder object pointing to the websites output folder.
See Also:
Configuration.getWebsiteOutputFolder()

getWebsiteSuccessFile

public org.millscript.commons.vfs.VFile getWebsiteSuccessFile()
Description copied from interface: Configuration
Returns the location of the website success file.

Returns:
a VFile object pointing to the website success file.
See Also:
Configuration.getWebsiteSuccessFile()

getWebsiteVarFolder

public org.millscript.commons.vfs.VFolder getWebsiteVarFolder()
Description copied from interface: Configuration
Returns the location of the websites var folder.

Returns:
a VFolder object pointing to the websites var folder.
See Also:
Configuration.getWebsiteVarFolder()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.