@ExportedBean(defaultVisibility=999) public class ConfigInfo extends Object implements ParsedDate
| Modifier and Type | Method and Description |
|---|---|
static ConfigInfo |
create(String name,
boolean configExists,
HistoryDescr histDescr,
boolean isJob)
Returns a new ConfigInfo object for a system configuration file.
|
String |
getDate()
Returns the date of the change.
|
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.
|
boolean |
hasConfig()
Does the configuration of the file exist?
|
Date |
parsedDate()
Returns a
Date. |
String |
toString() |
public static ConfigInfo create(String name, boolean configExists, HistoryDescr histDescr, boolean isJob)
name - Name of the configuration entity we are saving.configExists - Does the config file exist?histDescr - metadata of the change.isJob - whether it is a job's config info or not.@Exported public String getUser()
@Exported public String getUserID()
@Exported public String getDate()
JobConfigHistoryConsts.ID_FORMATTER@Exported public boolean hasConfig()
@Exported public String getJob()
@Exported public String getOperation()
public boolean getIsJob()
public Date parsedDate()
Date.parsedDate in interface ParsedDateCopyright © 2004–2016. All rights reserved.