public final class CheckPermission extends MethodOperation
Modifier and Type | Class and Description |
---|---|
static class |
CheckPermission.CheckPermissionFactory
A <check-permission> element factory.
|
MethodOperation.DeprecatedOperation, MethodOperation.Factory<M extends MethodOperation>
simpleMethod
Constructor and Description |
---|
CheckPermission(Element element,
SimpleMethod simpleMethod) |
Modifier and Type | Method and Description |
---|---|
boolean |
exec(MethodContext methodContext)
Executes the operation.
|
String |
toString() |
expandedString, rawString
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage
public CheckPermission(Element element, SimpleMethod simpleMethod) throws MiniLangException
MiniLangException
public boolean exec(MethodContext methodContext) throws MiniLangException
MethodOperation
true
if script execution should continue, or
false
if script execution should stop.exec
in class MethodOperation
MiniLangException
public String toString()
toString
in class MiniLangElement