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<?,
?> boolean
boolean
Check wheter the current user have read permission to that job.
-
Constructor Details
-
Method Details
-
getValidJob
- Returns:
- the job.
null
if the job doesn't exist.
-
isRegularAccess
public boolean isRegularAccess()Check wheter the current user have read permission to that job. This will befalse
also if the job no longer exists.- Returns:
true
if the current user can access.
-
getJobFullName
- Returns:
- the full name of the job.
-
isAutoMigratable
public boolean isAutoMigratable()- Returns:
true
if auto-migration is applicable.
-