Class LegacyMonitorData.JobInfoModel
java.lang.Object
hudson.plugins.copyartifact.monitor.LegacyMonitorData.JobInfoModel
- Enclosing class:
LegacyMonitorData
For Jelly display only
Holds the information of the job to display.
-
Constructor Summary
ConstructorsConstructorDescriptionJobInfoModel(Job<?, ?> validJob, boolean regularAccess, String jobFullName) ctor. -
Method Summary
Modifier and TypeMethodDescriptionJob<?, ?> booleanbooleanCheck wheter the current user have read permission to that job.
-
Constructor Details
-
Method Details
-
getValidJob
- Returns:
- the job.
nullif the job doesn't exist.
-
isRegularAccess
public boolean isRegularAccess()Check wheter the current user have read permission to that job. This will befalsealso if the job no longer exists.- Returns:
trueif the current user can access.
-
getJobFullName
- Returns:
- the full name of the job.
-
isAutoMigratable
public boolean isAutoMigratable()- Returns:
trueif auto-migration is applicable.
-