Package com.sonyericsson.rebuild
Class RebuildValidator
- java.lang.Object
-
- com.sonyericsson.rebuild.RebuildValidator
-
- All Implemented Interfaces:
ExtensionPoint
,Serializable
public abstract class RebuildValidator extends Object implements Serializable, ExtensionPoint
Extension point for allowing disabling of the rebuild-action, in case other plug-ins provides similar functionality.- Author:
- Gustaf Lundh <gustaf.lundh@sonyericsson.com>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RebuildValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isApplicable(AbstractBuild build)
Deprecated.boolean
isApplicable(Run build)
Method for acknowledge that another plug-ins wants handle the Rebuild functionality itself.
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Run build)
Method for acknowledge that another plug-ins wants handle the Rebuild functionality itself.- Parameters:
build
- Build to use when verifying applicability- Returns:
- true if the plug-in provides its own rebuild functionality. E.g. disable the rebuild action.
-
isApplicable
@Deprecated public boolean isApplicable(AbstractBuild build)
Deprecated.
-
-