public abstract static class AbstractProject.LabelValidator extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
LabelValidator() |
| Modifier and Type | Method and Description |
|---|---|
abstract FormValidation |
check(AbstractProject<?,?> project,
Label label)
Check the use of the label within the specified context.
|
@Nonnull public abstract FormValidation check(@Nonnull AbstractProject<?,?> project, @Nonnull Label label)
project - the project that wants to restrict itself to the specified label.label - the label that the project wants to restrict itself to.FormValidation result.Copyright © 2019. All rights reserved.