Class LegacyMonitorData.LegacyJobInfoItemModel
java.lang.Object
hudson.plugins.copyartifact.monitor.LegacyMonitorData.LegacyJobInfoItemModel
- Enclosing class:
- LegacyMonitorData
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class LegacyMonitorData.LegacyJobInfoItemModel
extends Object
For Jelly display only
Holds information of the job and builds that would fail in Production mode.
-
Constructor Summary
ConstructorDescriptionLegacyJobInfoItemModel
(LegacyMonitorData.JobInfoModel jobTo, String username, Date lastBuildDate, int numOfBuild) ctor. -
Method Summary
-
Constructor Details
-
LegacyJobInfoItemModel
public LegacyJobInfoItemModel(@NonNull LegacyMonitorData.JobInfoModel jobTo, @NonNull String username, @NonNull Date lastBuildDate, int numOfBuild) ctor.- Parameters:
jobTo
- the information of the destination job.username
- the user name the destination job ran as.lastBuildDate
- the build timestamp.numOfBuild
- the number of builds that would fail in Production mode.
-
-
Method Details
-
getJobTo
- Returns:
- the information of the destination job.
-
getUsername
- Returns:
- the user name the destination job ran as.
-
getLastBuildDate
- Returns:
- the build timestamp.
-
getNumOfBuild
public int getNumOfBuild()- Returns:
- the number of builds that would fail in Production mode.
-