public class MSiteConfig extends MObject
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
int |
_appIsDeadMultiplier |
protected boolean |
_hasChanges
Change Notifications
|
_NSThreadsafeMutableDictionary |
globalErrorDictionary
Errors
|
_NSThreadsafeMutableArray |
hostErrorArray |
_emptyString, _GET, _HTTP1, _POST, _zeroInteger, adaptorValues, adminActionStringPostfix, adminActionStringPrefix, ALIVE, CRASHING, DEAD, directActionString, halfHourAsSeconds, hostTypeArray, loadSchedulerArray, loadSchedulerArrayValues, schedulingIntervalArray, schedulingIntervals, schedulingTypeArray, STARTING, stateArray, STOPPING, timeOfDayArray, timesOfDay, UNKNOWN, urlVersionArray, values, weekArray, weekNames
_CLASS, NullValue
Constructor and Description |
---|
MSiteConfig(NSDictionary xmlDict) |
canAccessFieldsDirectly, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, morphedSchedulingStartDay, morphedSchedulingStartDay, morphedSchedulingStartTime, morphedSchedulingStartTime, setValues, siteConfig, takeValueForKey, takeValueForKeyPath, unableToSetNullForKey, updateValues, validatedHostType, validatedInteger, validatedLifebeatInterval, validatedOutputPath, validatedSchedulingStartDay, validatedSchedulingStartTime, validatedSchedulingType, validatedStats, validatedUrlVersion, valueForKey, valueForKeyPath, values
public _NSThreadsafeMutableDictionary globalErrorDictionary
public _NSThreadsafeMutableArray hostErrorArray
protected boolean _hasChanges
public int _appIsDeadMultiplier
public MSiteConfig(NSDictionary xmlDict)
public String password()
public void setPassword(String value)
public String woAdaptor()
public void setWoAdaptor(String value)
public String SMTPhost()
public void setSMTPhost(String value)
public String emailReturnAddr()
public void setEmailReturnAddr(String value)
public Boolean viewRefreshEnabled()
public void setViewRefreshEnabled(Boolean value)
public Integer viewRefreshRate()
public void setViewRefreshRate(Integer value)
public Integer sequence()
public void setSequence(Integer value)
public Integer retries()
public void setRetries(Integer value)
public String scheduler()
public void setScheduler(String value)
public Integer dormant()
public void setDormant(Integer value)
public String redir()
public void setRedir(String value)
public Integer sendTimeout()
public void setSendTimeout(Integer value)
public Integer recvTimeout()
public void setRecvTimeout(Integer value)
public Integer cnctTimeout()
public void setCnctTimeout(Integer value)
public Integer sendBufSize()
public void setSendBufSize(Integer value)
public Integer recvBufSize()
public void setRecvBufSize(Integer value)
public Integer poolsize()
public void setPoolsize(Integer value)
public Integer urlVersion()
public void setUrlVersion(Integer value)
public NSMutableArray<MHost> hostArray()
public NSMutableArray<MInstance> instanceArray()
public NSMutableArray<MApplication> applicationArray()
public MHost localHost()
public boolean hasChanges()
public void resetChanges()
public void dataHasChanged()
public void _addHost(MHost newHost)
public void addHost_M(MHost newHost)
public void addHost_W(MHost newHost)
public void _removeHost(MHost aHost)
public void removeHost_M(MHost aHost)
public void removeHost_W(MHost aHost)
public void _addApplication(MApplication newApplication)
public void addApplication_M(MApplication newApplication)
public void addApplication_W(MApplication newApplication)
public void _removeApplication(MApplication anApplication)
public void removeApplication_M(MApplication anApplication)
public void removeApplication_W(MApplication anApplication)
public void _addInstance(MInstance newInstance)
public NSMutableArray<MInstance> addInstances_M(MHost selectedHost, MApplication myApplication, int numberToAdd)
public void addInstance_M(MInstance newInstance)
public void addInstance_W(MInstance newInstance)
public void _removeInstance(MInstance anInstance)
public void removeInstance_M(MInstance anInstance)
public void removeInstances_M(MApplication application, NSArray<MInstance> instances)
public void removeInstance_W(MInstance anInstance)
public static long myrand()
public boolean isPasswordRequired()
public void _setPassword(String value)
public void resetPassword()
public void _setOldPassword()
public void _resetOldPassword()
public boolean compareStringWithPassword(String aString)
public boolean comparePasswordWithPassword(String aString)
public NSDictionary<String,NSMutableArray<String>> passwordDictionary()
public static MSiteConfig getSiteConfigFromHostAndPort(String configHostName, int aPort) throws MonitorException
MonitorException
public void _initHostsWithArray(NSArray anArray)
public void _initApplicationsWithArray(NSArray anArray)
public void _initInstancesWithArray(NSArray anArray)
public static String configDirectoryPath()
public static String pathForSiteConfig()
public static String pathForAdaptorConfig()
public static File fileForSiteConfig()
public static File fileForAdaptorConfig()
public static MSiteConfig unarchiveSiteConfig(boolean isWotaskd)
public void archiveSiteConfig()
public void archiveAdaptorConfig()
@Deprecated public String generateHttpWebObjectsConfig()
public String generateAdaptorConfigXML(boolean onlyIncludeRunningInstances, boolean shouldIncludeUnregisteredInstances)
public String generateSiteConfigXML()
public void backup(String action)
public void forceBackup(String reason)
public NSDictionary dictionaryForArchive()
public long autoRecoverInterval()
public MApplication applicationWithName(String anAppName)
public boolean localhostOrLoopbackHostExists()
public MHost hostWithAddress(InetAddress anAddress)
public MInstance instanceWithHostnameAndPort(String hostName, String port)
public MInstance instanceWithHostnameAndPort(String hostName, Integer port)
public MInstance instanceWithHostAndPort(String name, InetAddress host, String port)
Copyright © 2002 – 2024 Project Wonder.