public class OrganizationChildTriggersProperty extends OrganizationFolderProperty<OrganizationFolder>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationChildTriggersProperty.DescriptorImpl
Our descriptor.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
OrganizationChildTriggersProperty(List<Trigger<?>> templates)
Our constructor.
|
OrganizationChildTriggersProperty(Trigger<?>... templates)
Our constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decorate(MultiBranchProject<?,?> child,
TaskListener listener)
SPI for performing an idempotent application of this property's decoration to the supplied child.
|
List<Trigger<?>> |
getTemplates()
Gets the current template triggers.
|
static OrganizationChildTriggersProperty |
newDefaultInstance()
Creates a new default instance of this property.
|
applyDecoration, getDescriptor@DataBoundConstructor public OrganizationChildTriggersProperty(List<Trigger<?>> templates)
templates - the templates.public OrganizationChildTriggersProperty(Trigger<?>... templates)
templates - the templates.public static OrganizationChildTriggersProperty newDefaultInstance()
public List<Trigger<?>> getTemplates()
protected void decorate(@NonNull
MultiBranchProject<?,?> child,
@NonNull
TaskListener listener)
throws IOException
decorate in class OrganizationFolderProperty<OrganizationFolder>child - the child to decorate.listener - a listener to log any commentary to.IOException - as a convenience to implementations as some of the expected changes may call methods
that could throw this but shouldn't because of the API's requirement that a BulkChange contains
the child.Copyright © 2016–2019. All rights reserved.