com.cloudbees.plugins.flow
Class BuildFlowDSLExtension

java.lang.Object
  extended by com.cloudbees.plugins.flow.BuildFlowDSLExtension
All Implemented Interfaces:
hudson.ExtensionPoint

public abstract class BuildFlowDSLExtension
extends Object
implements hudson.ExtensionPoint

Extends BuildFlow DSL by inserting additional methods/properties.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildFlowDSLExtension()
           
 
Method Summary
static hudson.ExtensionList<BuildFlowDSLExtension> all()
          All the installed extensions.
abstract  Object createExtension(String extensionName, FlowDelegate dsl)
          Creates a new DSL extension object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildFlowDSLExtension

public BuildFlowDSLExtension()
Method Detail

createExtension

public abstract Object createExtension(String extensionName,
                                       FlowDelegate dsl)
Creates a new DSL extension object.

Parameters:
extensionName - String that identifies the extension. This string should primarily the artifact ID of the plugin, such as "external-resource-dispatcher". The consist naming between extension and plugin name makes it easier for users to use extensions from an untyped scripting environment of Groovy. If a plugin needs to expose multiple extensions from a single plugin, append suffix to the artifact ID, for example "external-resource-dispatcher.manager"
Returns:
null if this extension doesn't understand the specified extension name.

all

public static hudson.ExtensionList<BuildFlowDSLExtension> all()
All the installed extensions.



Copyright © 2004-2014. All Rights Reserved.