org.jmythapi.database.impl
Class MythShutdownStatus
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.database.impl.ADatabaseRow<E>
org.jmythapi.database.impl.ASettingsGroup<IMythShutdownSettings.Props>
org.jmythapi.database.impl.MythShutdownStatus
- All Implemented Interfaces:
- Cloneable, IMythShutdownSettings, IPropertyAware<IMythShutdownSettings.Props>, IVersionable
public class MythShutdownStatus
- extends ASettingsGroup<IMythShutdownSettings.Props>
- implements IMythShutdownSettings
Methods inherited from class org.jmythapi.impl.AData |
getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString |
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
MythShutdownStatus
public MythShutdownStatus(ProtocolVersion protoVersion,
int dbVersion,
Map<String,ISetting> settings)
isShutdownLocked
public boolean isShutdownLocked()
- Description copied from interface:
IMythShutdownSettings
- Specifies if shutdown was locked by the user.
This method returns true
if the shutdown-lock counter is greater than 0
- Specified by:
isShutdownLocked
in interface IMythShutdownSettings
- Returns:
true
if shutdown was locked by the user.
getLockedCount
public Integer getLockedCount()
- Specified by:
getLockedCount
in interface IMythShutdownSettings
isShutdownEnabled
public boolean isShutdownEnabled()
- Specified by:
isShutdownEnabled
in interface IMythShutdownSettings
getIdleTimeout
public Integer getIdleTimeout()
- Specified by:
getIdleTimeout
in interface IMythShutdownSettings
getIdleWaitForRecording
public Integer getIdleWaitForRecording()
- Specified by:
getIdleWaitForRecording
in interface IMythShutdownSettings
getStartupBeforeRecording
public Integer getStartupBeforeRecording()
- Specified by:
getStartupBeforeRecording
in interface IMythShutdownSettings
getNextScheduledShutdown
public Date getNextScheduledShutdown()
- Specified by:
getNextScheduledShutdown
in interface IMythShutdownSettings
getNextScheduledWakeup
public Date getNextScheduledWakeup()
- Specified by:
getNextScheduledWakeup
in interface IMythShutdownSettings
getStartupMode
public IMythShutdownSettings.StartupMode getStartupMode(Date startupTime)
- Specified by:
getStartupMode
in interface IMythShutdownSettings
Copyright © 2008-2013. All Rights Reserved.