|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.jobConfigHistory.ConfigInfo
@ExportedBean(defaultVisibility=999) public class ConfigInfo
Holder object for displaying information.
| Method Summary | |
|---|---|
static ConfigInfo |
create(hudson.model.AbstractItem item,
File file,
HistoryDescr histDescr)
Returns a new ConfigInfo object for a Hudson job. |
static ConfigInfo |
create(String name,
File file,
HistoryDescr histDescr,
boolean isJob)
Returns a new ConfigInfo object for a system configuration file. |
String |
getDate()
Returns the date of the change. |
String |
getFile()
Returns the URL encoded absolute name of the file. |
boolean |
getIsJob()
Returns true if this object represents a Hudson job as opposed to representing a system configuration. |
String |
getJob()
Returns the name of the job. |
String |
getOperation()
Returns the type of the operation. |
String |
getUser()
Returns the display name of the user. |
String |
getUserID()
Returns the id of the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConfigInfo create(hudson.model.AbstractItem item,
File file,
HistoryDescr histDescr)
throws UnsupportedEncodingException
item - a projectfile - pointing to config.xmlhistDescr - metadata of the change
UnsupportedEncodingException - if UTF-8 is not available (probably a serious error).
public static ConfigInfo create(String name,
File file,
HistoryDescr histDescr,
boolean isJob)
throws UnsupportedEncodingException
name - Name of the configuration entity we are saving.file - The file with configuration data.histDescr - metadata of the change.isJob - whether it is a job's config info or not.
UnsupportedEncodingException - if UTF-8 is not available@Exported public String getUser()
@Exported public String getUserID()
@Exported public String getDate()
ConfigHistoryListenerHelper#ID_FORMATTER@Exported public String getFile()
@Exported public String getJob()
@Exported public String getOperation()
public boolean getIsJob()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||