hudson.plugins.pmd.util
Class PriorityDetailFactory
java.lang.Object
hudson.plugins.pmd.util.PriorityDetailFactory
public class PriorityDetailFactory
- extends java.lang.Object
Creates priority detail objects.
|
Method Summary |
PrioritiesDetail |
create(java.lang.String priority,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.lang.String header)
Creates a new priorities detail object. |
boolean |
isPriority(java.lang.String value)
Returns whether the provided value is a valid priority. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriorityDetailFactory
public PriorityDetailFactory()
isPriority
public boolean isPriority(java.lang.String value)
- Returns whether the provided value is a valid priority.
- Parameters:
value - the value to check
- Returns:
true if the provided value is a valid priority, false otherwise
create
public PrioritiesDetail create(java.lang.String priority,
hudson.model.AbstractBuild<?,?> owner,
AnnotationContainer container,
java.lang.String header)
- Creates a new priorities detail object.
- Parameters:
priority - the priority to showowner - owner of the buildcontainer - annotation containerheader - header to show
- Returns:
- the priority detail
Copyright © 2008. All Rights Reserved.