Class JobCategory
- java.lang.Object
-
- com.hello2morrow.sonargraph.integration.jenkins.controller.JobCategory
-
public final class JobCategory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPipelineJob(hudson.model.Job<?,?> job)
Checks if a job is a pipeline/workflow job.static boolean
isRelevantProject(hudson.model.AbstractProject<?,?> project)
Checks if a project is 'relevant' for Sonargraph.
-
-
-
Method Detail
-
isPipelineJob
public static boolean isPipelineJob(hudson.model.Job<?,?> job)
Checks if a job is a pipeline/workflow job.- Parameters:
job
- the job.- Returns:
- true if job is a pipeline/workflow job.
-
isRelevantProject
public static boolean isRelevantProject(hudson.model.AbstractProject<?,?> project)
Checks if a project is 'relevant' for Sonargraph.- Parameters:
project
- the project.- Returns:
- true if project is relevant for Sonargraph.
-
-