@DSL abstract class AbstractProjectResource extends AbstractResource
| Fields inherited from class | Fields |
|---|---|
class AbstractResource |
node, ontrack |
| Constructor and description |
|---|
AbstractProjectResource
(Ontrack ontrack, java.lang.Object node) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
config(groovy.lang.Closure closure) |
|
java.lang.Object |
delete()Deletes this entity |
|
java.lang.Object |
getDecoration(java.lang.String type)Gets the first decoration for this entity and a given decoration qualified name. |
|
java.util.List<?> |
getDecorations()List of decorations for this entity. |
|
java.util.List<?> |
getDecorations(java.lang.String type)Gets the decoration for this entity and a given decoration qualified name. |
|
java.lang.String |
getDescription() |
|
int |
getId() |
|
java.lang.String |
getJenkinsJobDecoration()Jenkins job decoration (state of the job) |
|
java.util.Map<java.lang.String, ?> |
getMessageDecoration()Message decoration. |
|
java.lang.String |
getName() |
|
java.lang.Object |
getProperty(java.lang.String type, boolean required) |
|
java.lang.Object |
property(java.lang.String type, java.lang.Object data) |
|
java.lang.Object |
property(java.lang.String type) |
| Methods inherited from class | Name |
|---|---|
class AbstractResource |
getNode, getPage, link, list, optionalLink, query, toString |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Deletes this entity
Gets the first decoration for this entity and a given decoration qualified name.
Returns null if not defined or the JSON data is defined.
List of decorations for this entity. Each item in the list has a:
decorationType - qualified name of the decoration
data - JSON data of the decoration
Gets the decoration for this entity and a given decoration qualified name.
Jenkins job decoration (state of the job)
Message decoration. Defines a type and a text