public static class LegacyMonitorData.LegacyBuildStorage extends Object
Constructor and Description |
---|
LegacyBuildStorage(String jobFullNameFrom,
String jobFullNameTo,
String username,
Date lastBuildDate)
ctor.
|
Modifier and Type | Method and Description |
---|---|
LegacyMonitorData.LegacyBuildStorage |
addNewBuild(String username,
Date lastBuildDate)
Create a new build information.
|
String |
getJobFullNameFrom() |
String |
getJobFullNameTo() |
Date |
getLastBuildDate() |
int |
getNumOfBuild() |
String |
getUsername() |
LegacyMonitorData.LegacyBuildStorage |
renameJobFrom(String newJobFullName)
Create a new build information renaming the source job.
|
LegacyMonitorData.LegacyBuildStorage |
renameJobTo(String newJobFullName)
Create a new build information renaming the destination job.
|
String |
toString() |
public LegacyBuildStorage(@NonNull String jobFullNameFrom, @NonNull String jobFullNameTo, @NonNull String username, @NonNull Date lastBuildDate)
jobFullNameFrom
- the name of the source job.jobFullNameTo
- the name of the destination job.username
- the user name that the destination job ran as.lastBuildDate
- the build timestamp.@NonNull public String getJobFullNameFrom()
@NonNull public String getJobFullNameTo()
@NonNull public String getUsername()
@NonNull public Date getLastBuildDate()
public int getNumOfBuild()
@NonNull public LegacyMonitorData.LegacyBuildStorage addNewBuild(String username, Date lastBuildDate)
username
- the user name that the destination job ran as.lastBuildDate
- the build timestamp.public LegacyMonitorData.LegacyBuildStorage renameJobFrom(String newJobFullName)
newJobFullName
- the new name of the source job.public LegacyMonitorData.LegacyBuildStorage renameJobTo(String newJobFullName)
newJobFullName
- the new name of the destination job.Copyright © 2016–2022. All rights reserved.