public class ScriptCallback<T extends Throwable> extends Object implements hudson.remoting.Callable<Object,T>
| Constructor and Description |
|---|
ScriptCallback(String name,
Script script,
Map<String,String> parameters)
Create a new ScriptCallback.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
void |
checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker) |
String |
getName()
Get script callback name.
|
Map<String,String> |
getParameters()
Get script parameters.
|
Script |
getScript()
Get the script.
|
public String getName()
public Map<String,String> getParameters()
public Script getScript()
public void checkRoles(org.jenkinsci.remoting.RoleChecker roleChecker)
throws SecurityException
checkRoles in interface org.jenkinsci.remoting.RoleSensitiveSecurityExceptionCopyright © 2016–2018. All rights reserved.