|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hudson.plugins.dumpinfo.MessagesUtils
public final class MessagesUtils
Various utility functions for working with localized Messages.
Method Summary | |
---|---|
static java.lang.String |
format(hudson.model.Computer computer)
Format a Computer instance for output. |
static java.lang.String |
format(hudson.model.Hudson hudson)
Format a Hudson instance for output. |
static java.lang.String |
format(hudson.model.JDK jdk)
Format a JDK instance for output. |
static java.lang.String |
format(hudson.PluginWrapper pluginWrapper)
Format a PluginWrapper instance for output. |
static java.lang.String |
formatEnvironmentVariable(java.lang.String key,
java.lang.String value)
Format a system environment variable. |
static java.lang.String |
formatSystemProperty(java.lang.String key,
java.lang.String value)
Format a system property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String format(hudson.model.Computer computer)
computer
- the computer instance to format
Messages.DumpInfo_Computer_Offline(Object, Object, Object)
,
Messages.DumpInfo_Computer_Online(Object, Object, Object)
public static java.lang.String format(hudson.model.Hudson hudson)
hudson
- the Hudson instance to format
Messages.DumpInfo_Hudson(Object, Object)
public static java.lang.String format(hudson.model.JDK jdk)
jdk
- the JDK instance to format
Messages.DumpInfo_Tool_JDK(Object, Object)
public static java.lang.String format(hudson.PluginWrapper pluginWrapper)
pluginWrapper
- the plugin wrapper instance to format
Messages.DumpInfo_Plugin(Object, Object, Object)
public static java.lang.String formatEnvironmentVariable(java.lang.String key, java.lang.String value)
key
- the key from the system environment key=value pairvalue
- the value from the system environment key=value pair
Messages.DumpInfo_Environment_Variable(Object, Object)
public static java.lang.String formatSystemProperty(java.lang.String key, java.lang.String value)
key
- the key from the system property key=value pairvalue
- the value from the system property key=value pair
Messages.DumpInfo_Environment_Variable(Object, Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |