hudson.plugins.covcomplplot.stub
Enum InvalidHudsonProjectType

java.lang.Object
  extended by java.lang.Enum<InvalidHudsonProjectType>
      extended by hudson.plugins.covcomplplot.stub.InvalidHudsonProjectType
All Implemented Interfaces:
Serializable, Comparable<InvalidHudsonProjectType>

public enum InvalidHudsonProjectType
extends Enum<InvalidHudsonProjectType>

Invalid Jenkins Project Error Type.

Author:
JunHo Yoon

Enum Constant Summary
INTERNAL
          Internal Error Type
INVALID_PLUGIN_RESULT
          Invalid Plugin Result Error Type
NONE
          No Error.
 
Method Summary
 String getLogMessage(Object... args)
          Get Message for logger
protected abstract  String getLogMessageTemplate()
          Get Template for Log detailed message.
static InvalidHudsonProjectType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InvalidHudsonProjectType[] 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

NONE

public static final InvalidHudsonProjectType NONE
No Error.


INTERNAL

public static final InvalidHudsonProjectType INTERNAL
Internal Error Type


INVALID_PLUGIN_RESULT

public static final InvalidHudsonProjectType INVALID_PLUGIN_RESULT
Invalid Plugin Result Error Type

Method Detail

values

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

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

valueOf

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

getLogMessageTemplate

protected abstract String getLogMessageTemplate()
Get Template for Log detailed message.

Returns:

getLogMessage

public String getLogMessage(Object... args)
Get Message for logger

Parameters:
args - arguments
Returns:
detailedMessage


Copyright © 2004-2011. All Rights Reserved.