org.jmythapi.database
Enum IMythShutdownSettings.Props

java.lang.Object
  extended by java.lang.Enum<IMythShutdownSettings.Props>
      extended by org.jmythapi.database.IMythShutdownSettings.Props
All Implemented Interfaces:
Serializable, Comparable<IMythShutdownSettings.Props>, ISettingsProperty
Enclosing interface:
IMythShutdownSettings

public static enum IMythShutdownSettings.Props
extends Enum<IMythShutdownSettings.Props>
implements ISettingsProperty


Enum Constant Summary
IDLE_TIMEOUT
          Idle shutdown timeout (secs).
IDLE_WAIT_FOR_RECORDING
          Max. wait for recording (min).
SHUTDOWN_LOCK
          MythShutdown Lock.
SHUTDOWN_NEXT_SCHEDULED
          MythShutdown - Next scheduled shutdown.
SHUTDOWN_WAKEUP_TIME
          MythShutdown - Next scheduled wakeup.
STARTUP_BEFORE_RECORDING
          Startup before rec.
 
Method Summary
 String getSettingName()
           
static IMythShutdownSettings.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IMythShutdownSettings.Props[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDLE_TIMEOUT

public static final IMythShutdownSettings.Props IDLE_TIMEOUT
Idle shutdown timeout (secs).

The amount of time the master backend idles before it shuts down all backends. Set to 0 to disable "auto shutdown.


IDLE_WAIT_FOR_RECORDING

public static final IMythShutdownSettings.Props IDLE_WAIT_FOR_RECORDING
Max. wait for recording (min).

The amount of time the master backend waits for a recording. If it's idle but a recording starts within this time period, the backends won't shut down.


STARTUP_BEFORE_RECORDING

public static final IMythShutdownSettings.Props STARTUP_BEFORE_RECORDING
Startup before rec. (secs).

The amount of time the master backend will be woken up before a recording starts.


SHUTDOWN_LOCK

public static final IMythShutdownSettings.Props SHUTDOWN_LOCK
MythShutdown Lock.

If this flag is set, a shutdown via MythShutdown is blocked by the user.


SHUTDOWN_NEXT_SCHEDULED

public static final IMythShutdownSettings.Props SHUTDOWN_NEXT_SCHEDULED
MythShutdown - Next scheduled shutdown.

The time of the next shutdown, scheduled by MythShutdown.


SHUTDOWN_WAKEUP_TIME

public static final IMythShutdownSettings.Props SHUTDOWN_WAKEUP_TIME
MythShutdown - Next scheduled wakeup.

The time of the next wakeup, scheduled by MythShutdown.

Method Detail

values

public static IMythShutdownSettings.Props[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IMythShutdownSettings.Props c : IMythShutdownSettings.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IMythShutdownSettings.Props valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getSettingName

public String getSettingName()
Specified by:
getSettingName in interface ISettingsProperty


Copyright © 2008-2013. All Rights Reserved.