org.jenkinsci.plugins.buildaliassetter
Class TokenMacroAliasProvider
java.lang.Object
hudson.model.AbstractDescribableImpl<AliasProvider>
org.jenkinsci.plugins.buildaliassetter.AliasProvider
org.jenkinsci.plugins.buildaliassetter.TokenMacroAliasProvider
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<AliasProvider>
public class TokenMacroAliasProvider
- extends AliasProvider
Provide aliases expanding token macro
- Author:
- ogondza
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
TokenMacroAliasProvider.DescriptorImpl |
getDescriptor()
|
List<String> |
names(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Get build aliases to be attached to the build
Aliases not conforming to the BuildAliasSetter#validateAlias(String) are
not going to be attached and an error will be reported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
template
public final String template
TokenMacroAliasProvider
@DataBoundConstructor
public TokenMacroAliasProvider(String template)
names
public List<String> names(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
- Description copied from class:
AliasProvider
- Get build aliases to be attached to the build
Aliases not conforming to the BuildAliasSetter#validateAlias(String) are
not going to be attached and an error will be reported.
- Specified by:
names in class AliasProvider
- Returns:
- A list of aliases. Possibly empty, never null.
- Throws:
IOException
InterruptedException- See Also:
AliasProvider.validateAlias(String)
getDescriptor
public TokenMacroAliasProvider.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<AliasProvider>- Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<AliasProvider>
Copyright © 2004-2013. All Rights Reserved.