public class DefaultPostJobDescriptor extends Object implements PostJobDescriptor
| Constructor and Description |
|---|
DefaultPostJobDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
DefaultPostJobDescriptor |
name(String name)
Displayable name of the
PostJob. |
Collection<String> |
properties() |
DefaultPostJobDescriptor |
requireProperties(String... propertyKeys)
List properties this
PostJob depends on. |
DefaultPostJobDescriptor |
requireProperty(String... propertyKey)
Property this
PostJob depends on. |
public DefaultPostJobDescriptor()
public Collection<String> properties()
public DefaultPostJobDescriptor name(String name)
PostJobDescriptorPostJob. Will be displayed in logs.name in interface PostJobDescriptorpublic DefaultPostJobDescriptor requireProperty(String... propertyKey)
PostJobDescriptorPostJob depends on. Used by the platform to skip execution of the PostJob when
property is not set.requireProperty in interface PostJobDescriptorpublic DefaultPostJobDescriptor requireProperties(String... propertyKeys)
PostJobDescriptorPostJob depends on. Used by the platform to skip execution of the PostJob when
property is not set.requireProperties in interface PostJobDescriptorCopyright © 2009–2017 SonarSource. All rights reserved.