All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cloudbees.groovy.cps.sandbox.Trusted Maven / Gradle / Ivy

package com.cloudbees.groovy.cps.sandbox;

/**
 * {@link CallSiteTag} to instruct {@link SandboxInvoker} that this code is trusted and will bypass sandbox check.
 *
 * @author Kohsuke Kawaguchi
 * @see Untrusted
 */
public final class Trusted implements CallSiteTag {
    // singleton
    private Trusted() {}

    private Object readResolve() {
        return INSTANCE;
    }

    private static final long serialVersionUID = 1L;

    public static final Trusted INSTANCE = new Trusted();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy