com.sonyericsson.hudson.plugins.multislaveconfigplugin
Enum Setting

java.lang.Object
  extended by java.lang.Enum<Setting>
      extended by com.sonyericsson.hudson.plugins.multislaveconfigplugin.Setting
All Implemented Interfaces:
Serializable, Comparable<Setting>

public enum Setting
extends Enum<Setting>

Available setting types.


Enum Constant Summary
DESCRIPTION
          Description, used on all slaves.
IDLE_DELAY
          Idle delay, used withing RetentionStrategy.Demand.
IN_DEMAND_DELAY
          In demand delay setting, used within RetentionStrategy.Demand.
KEEP_UP_WHEN_ACTIVE
          Keep up when active setting, used within SimpleScheduledRetentionStrategy.
LABELS
          Label string, used on all slaves.
LAUNCH_COMMAND
          Launch command, used within CommandLauncher.
NUM_EXECUTORS
          Number of executors, used on all slaves.
PASSWORD_STRING
          Password string, used within ManagedWindowsServiceLauncher.
REMOTE_FS
          Remote FS, used on all slaves.
START_TIME_SPEC
          Start time specification, used within SimpleScheduledRetentionStrategy.
TUNNEL
          Tunnel, used within JNLPLauncher.
UPTIME_MINS
          Uptime mins, used within SimpleScheduledRetentionStrategy.
USERNAME
          Username, used within ManagedWindowsServiceLauncher.
VM_ARGS
          Vm args, used within JNLPLauncher.
 
Method Summary
static Setting valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Setting[] 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

LABELS

public static final Setting LABELS
Label string, used on all slaves.


DESCRIPTION

public static final Setting DESCRIPTION
Description, used on all slaves.


NUM_EXECUTORS

public static final Setting NUM_EXECUTORS
Number of executors, used on all slaves.


REMOTE_FS

public static final Setting REMOTE_FS
Remote FS, used on all slaves.


LAUNCH_COMMAND

public static final Setting LAUNCH_COMMAND
Launch command, used within CommandLauncher.


PASSWORD_STRING

public static final Setting PASSWORD_STRING
Password string, used within ManagedWindowsServiceLauncher.


USERNAME

public static final Setting USERNAME
Username, used within ManagedWindowsServiceLauncher.


TUNNEL

public static final Setting TUNNEL
Tunnel, used within JNLPLauncher.


VM_ARGS

public static final Setting VM_ARGS
Vm args, used within JNLPLauncher.


IDLE_DELAY

public static final Setting IDLE_DELAY
Idle delay, used withing RetentionStrategy.Demand.


IN_DEMAND_DELAY

public static final Setting IN_DEMAND_DELAY
In demand delay setting, used within RetentionStrategy.Demand.


KEEP_UP_WHEN_ACTIVE

public static final Setting KEEP_UP_WHEN_ACTIVE
Keep up when active setting, used within SimpleScheduledRetentionStrategy.


START_TIME_SPEC

public static final Setting START_TIME_SPEC
Start time specification, used within SimpleScheduledRetentionStrategy.


UPTIME_MINS

public static final Setting UPTIME_MINS
Uptime mins, used within SimpleScheduledRetentionStrategy.

Method Detail

values

public static Setting[] 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 (Setting c : Setting.values())
    System.out.println(c);

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

valueOf

public static Setting 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


Copyright © 2004-2014. All Rights Reserved.