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:
java.io.Serializable, java.lang.Comparable<InvalidHudsonProjectType>

public enum InvalidHudsonProjectType
extends java.lang.Enum<InvalidHudsonProjectType>

Invalid Hudson Project Error Type.

Author:
nhn

Enum Constant Summary
INTERNAL
           
INVALID_PLUGIN_RESULT
           
NONE
           
 
Method Summary
 java.lang.String getLogMessage(java.lang.Object... args)
          Get Message for logger
protected abstract  java.lang.String getLogMessageTemplate()
          Get Template for Log detailed message.
 java.lang.String getScreenMessage(java.lang.Object... args)
          Get Message for screen.
protected abstract  java.lang.String getScreenMessageTemplate()
          Get Template for Screen Message;
static InvalidHudsonProjectType valueOf(java.lang.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

INTERNAL

public static final InvalidHudsonProjectType INTERNAL

INVALID_PLUGIN_RESULT

public static final InvalidHudsonProjectType INVALID_PLUGIN_RESULT
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getScreenMessageTemplate

protected abstract java.lang.String getScreenMessageTemplate()
Get Template for Screen Message;

Returns:

getLogMessageTemplate

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

Returns:

getScreenMessage

public java.lang.String getScreenMessage(java.lang.Object... args)
Get Message for screen.

Parameters:
args - arguments
Returns:
screen message

getLogMessage

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

Parameters:
args - arguments
Returns:
detailedMessage


Copyright © 2010. All Rights Reserved.