Package gda.beamline.health
Class IspybServiceCondition
- All Implemented Interfaces:
ComponentHealthCondition,Configurable,Findable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the java property which defines the Icat database passwordstatic final StringName of the java property which defines the Icat database url (file or database)static final StringName of the java property which defines the Icat database username -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.protected booleanMethods inherited from class gda.beamline.health.RateLimitedServerCondition
isRunning, setMinCheckTimeMethods inherited from class gda.beamline.health.ServerCondition
calculateHealthState, getDefaultErrorMessage, readCurrentStateMethods inherited from class gda.beamline.health.ComponentHealthConditionBase
getCurrentState, getDescription, getErrorMessage, getHealthState, isCritical, isEnabled, setCritical, setDescription, setEnabled, setErrorMessage, toStringMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Field Details
-
URL_PROP
Name of the java property which defines the Icat database url (file or database)- See Also:
-
USER_PROP
Name of the java property which defines the Icat database username- See Also:
-
PASSWORD_PROP
Name of the java property which defines the Icat database password- See Also:
-
-
Constructor Details
-
IspybServiceCondition
public IspybServiceCondition()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classRateLimitedServerCondition- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
isServiceRunning
protected boolean isServiceRunning()- Specified by:
isServiceRunningin classRateLimitedServerCondition
-