com.sonyericsson.hudson.plugins.metadata
Class Constants

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.metadata.Constants

public abstract class Constants
extends Object

Common constants.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Field Summary
static String COMMON_ICON
          The icon to display for the actions.
static String COMMON_URL_NAME
          The URL to the actions.
static int DEFAULT_MONTH_ADJUSTMENT
          Subtracted from month value since it starts on 1 instead of 0.
static int DEFAULT_TIME_DETAILS
          Default hour,minute,second if no defaults are added.
static String DISPLAY_NAME_SEPARATOR
          The separator constant used for the display name.
static String ENVIRONMENT_SEPARATOR
          The separator constant used for the environment variable name.
static String METADATA_CHECKS_URL_NAME
          The URL to the Metadata checks.
static String METADATA_ENV_PREFIX
          The prefix for the environment variable names..
static String METADATA_ENV_SPECIALS_REGEXP
          A regular expression to find any special chars in the name that should be converted to "_".
static String REQUEST_ATTR_METADATA_CONTAINER
          Request attribute on the /computer/name page set by MetadataNodeProperty and MetadataJobProperty, read by TreeNodeMetadataValue to determine what container type that is currently edited.
static String SERIALIZATION_ALIAS_DATE
          Serialization alias (XStream and JSON) for DateMetadataValue.
static String SERIALIZATION_ALIAS_NUMBER
          Serialization alias (XStream and JSON) for NumberMetadataValue.
static String SERIALIZATION_ALIAS_STRING
          Serialization alias (XStream and JSON) for StringMetadataValue.
static String SERIALIZATION_ALIAS_TREE
          Serialization alias (XStream and JSON) for TreeNodeMetadataValue.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_ATTR_METADATA_CONTAINER

public static final String REQUEST_ATTR_METADATA_CONTAINER
Request attribute on the /computer/name page set by MetadataNodeProperty and MetadataJobProperty, read by TreeNodeMetadataValue to determine what container type that is currently edited.

See Also:
Constant Field Values

DISPLAY_NAME_SEPARATOR

public static final String DISPLAY_NAME_SEPARATOR
The separator constant used for the display name.

See Also:
Constant Field Values

ENVIRONMENT_SEPARATOR

public static final String ENVIRONMENT_SEPARATOR
The separator constant used for the environment variable name.

See Also:
Constant Field Values

METADATA_ENV_PREFIX

public static final String METADATA_ENV_PREFIX
The prefix for the environment variable names..

See Also:
Constant Field Values

METADATA_ENV_SPECIALS_REGEXP

public static final String METADATA_ENV_SPECIALS_REGEXP
A regular expression to find any special chars in the name that should be converted to "_".

See Also:
Constant Field Values

COMMON_URL_NAME

public static final String COMMON_URL_NAME
The URL to the actions.

See Also:
Constant Field Values

METADATA_CHECKS_URL_NAME

public static final String METADATA_CHECKS_URL_NAME
The URL to the Metadata checks.

See Also:
Constant Field Values

COMMON_ICON

public static final String COMMON_ICON
The icon to display for the actions.

See Also:
Constant Field Values

SERIALIZATION_ALIAS_DATE

public static final String SERIALIZATION_ALIAS_DATE
Serialization alias (XStream and JSON) for DateMetadataValue.

See Also:
Constant Field Values

SERIALIZATION_ALIAS_NUMBER

public static final String SERIALIZATION_ALIAS_NUMBER
Serialization alias (XStream and JSON) for NumberMetadataValue.

See Also:
Constant Field Values

SERIALIZATION_ALIAS_STRING

public static final String SERIALIZATION_ALIAS_STRING
Serialization alias (XStream and JSON) for StringMetadataValue.

See Also:
Constant Field Values

SERIALIZATION_ALIAS_TREE

public static final String SERIALIZATION_ALIAS_TREE
Serialization alias (XStream and JSON) for TreeNodeMetadataValue.

See Also:
Constant Field Values

DEFAULT_TIME_DETAILS

public static final int DEFAULT_TIME_DETAILS
Default hour,minute,second if no defaults are added.

See Also:
Constant Field Values

DEFAULT_MONTH_ADJUSTMENT

public static final int DEFAULT_MONTH_ADJUSTMENT
Subtracted from month value since it starts on 1 instead of 0.

See Also:
Constant Field Values


Copyright © 2004-2013. All Rights Reserved.