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
Constructors Constructor Description LegacyJobInfoItemModel(LegacyMonitorData.JobInfoModel jobTo, String username, Date lastBuildDate, int numOfBuild)
ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyMonitorData.JobInfoModel
getJobTo()
Date
getLastBuildDate()
int
getNumOfBuild()
String
getUsername()
-
-
-
Constructor Detail
-
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 Detail
-
getJobTo
@NonNull public LegacyMonitorData.JobInfoModel getJobTo()
- Returns:
- the information of the destination job.
-
getUsername
@NonNull public String getUsername()
- Returns:
- the user name the destination job ran as.
-
getLastBuildDate
@NonNull public Date getLastBuildDate()
- Returns:
- the build timestamp.
-
getNumOfBuild
public int getNumOfBuild()
- Returns:
- the number of builds that would fail in Production mode.
-
-