Nuxeo Enterprise Platform 5.3

com.anwrt.ooserver.daemon
Class Config

java.lang.Object
  extended by com.anwrt.ooserver.daemon.Config

public class Config
extends Object

A container that have all informations about configuration

Author:
Jounayd Id Salah
See Also:
ConfigHandler

Field Summary
 String acceptor
           
 String adminAcceptor
           
static String CONFIG_TAG
           
 boolean exitsWhenInstanceCannotBeCreated
          Stop daemon if an open office instance cannot be created
 int maxUsageCountPerInstance
           
 String officeProgramDirectoryPath
           
 int randomUsageCountPerInstance
           
 int shutdownDelay
           
 int sleepingDelay
           
 int toleratedStartupTimePerInstance
           
 ArrayList userInstallation
           
 
Constructor Summary
Config()
           
 
Method Summary
 boolean adminNeeded()
           
 int calculateMaxUsageCount()
           
 int convertMillisToSeconds(int millis)
           
 String toString()
          Returns a configuration in a shell manner
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adminAcceptor

public String adminAcceptor

acceptor

public String acceptor

officeProgramDirectoryPath

public String officeProgramDirectoryPath

userInstallation

public ArrayList userInstallation

toleratedStartupTimePerInstance

public int toleratedStartupTimePerInstance

maxUsageCountPerInstance

public int maxUsageCountPerInstance

randomUsageCountPerInstance

public int randomUsageCountPerInstance

sleepingDelay

public int sleepingDelay

shutdownDelay

public int shutdownDelay

exitsWhenInstanceCannotBeCreated

public boolean exitsWhenInstanceCannotBeCreated
Stop daemon if an open office instance cannot be created


CONFIG_TAG

public static final String CONFIG_TAG
See Also:
Constant Field Values
Constructor Detail

Config

public Config()
Method Detail

adminNeeded

public boolean adminNeeded()

calculateMaxUsageCount

public int calculateMaxUsageCount()

convertMillisToSeconds

public int convertMillisToSeconds(int millis)

validate

public void validate()
              throws Exception
Throws:
Exception

toString

public String toString()
Returns a configuration in a shell manner

Overrides:
toString in class Object
Returns:
configuration informations
See Also:
Object.toString()

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.