com.github.croesch.micro_debug.gui.settings
Enum InternalSettings

java.lang.Object
  extended by java.lang.Enum<InternalSettings>
      extended by com.github.croesch.micro_debug.gui.settings.InternalSettings
All Implemented Interfaces:
Serializable, Comparable<InternalSettings>

public enum InternalSettings
extends Enum<InternalSettings>

Provides some internal settings, that shouldn't be modified by the user.

Since:
Date: Feb 25, 2012
Author:
croesch

Enum Constant Summary
NAME
          the name of the gui of the debugger
VERSION
          the version of the gui of the debugger
 
Method Summary
 String getValue()
          Returns the value of this setting.
 String toString()
           
static InternalSettings valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InternalSettings[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VERSION

public static final InternalSettings VERSION
the version of the gui of the debugger


NAME

public static final InternalSettings NAME
the name of the gui of the debugger

Method Detail

values

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

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

valueOf

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

getValue

@NotNull
public String getValue()
Returns the value of this setting.

Returns:
the value of this setting, read from the properties file.
Since:
Date: Feb 25, 2012

toString

@NotNull
public String toString()
Overrides:
toString in class Enum<InternalSettings>


Copyright © 2012. All Rights Reserved.