Package io.jenkins.plugins.csp.rules
Class ValueSpecifier
java.lang.Object
io.jenkins.plugins.csp.rules.ValueSpecifier
- All Implemented Interfaces:
ExtensionPoint,Describable<ValueSpecifier>
- Direct Known Subclasses:
ValueSpecifier.Blob,ValueSpecifier.ByDomain,ValueSpecifier.Data,ValueSpecifier.Self,ValueSpecifier.UnsafeEval,ValueSpecifier.UnsafeInline
public abstract class ValueSpecifier
extends Object
implements Describable<ValueSpecifier>, ExtensionPoint
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(String directive, CspBuilder builder) Applies this value specifier to the given directive, if applicable.protected abstract StringgetValue()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
ValueSpecifier
public ValueSpecifier()
-
-
Method Details
-
getValue
-
apply
Applies this value specifier to the given directive, if applicable.- Parameters:
directive- the directive to apply tobuilder- the CSP builder
-