org.jmythapi.database
Interface IMythShutdownSettings

All Superinterfaces:
Cloneable, IPropertyAware<IMythShutdownSettings.Props>
All Known Implementing Classes:
MythShutdownStatus

public interface IMythShutdownSettings
extends IPropertyAware<IMythShutdownSettings.Props>

The MythShutdown Settings.

This object encapsulates all MythShutdown related settings stored in the MythTv settings table.


Nested Class Summary
static class IMythShutdownSettings.Props
           
static class IMythShutdownSettings.StartupMode
           
 
Method Summary
 Integer getIdleTimeout()
           
 Integer getIdleWaitForRecording()
           
 Integer getLockedCount()
           
 Date getNextScheduledShutdown()
           
 Date getNextScheduledWakeup()
           
 Integer getStartupBeforeRecording()
           
 IMythShutdownSettings.StartupMode getStartupMode(Date startupTime)
           
 boolean isShutdownEnabled()
           
 boolean isShutdownLocked()
          Specifies if shutdown was locked by the user.
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 

Method Detail

isShutdownLocked

boolean isShutdownLocked()
Specifies if shutdown was locked by the user.

This method returns true if the shutdown-lock counter is greater than 0

Returns:
true if shutdown was locked by the user.

getLockedCount

Integer getLockedCount()

isShutdownEnabled

boolean isShutdownEnabled()

getIdleTimeout

Integer getIdleTimeout()

getIdleWaitForRecording

Integer getIdleWaitForRecording()

getStartupBeforeRecording

Integer getStartupBeforeRecording()

getNextScheduledShutdown

Date getNextScheduledShutdown()

getNextScheduledWakeup

Date getNextScheduledWakeup()

getStartupMode

IMythShutdownSettings.StartupMode getStartupMode(Date startupTime)


Copyright © 2008-2013. All Rights Reserved.