public class EntryPointResource extends StringConditionResource
Although the user will usually specify the entry point names as legacy 4GL procedure names,
any such name will be converted to the corresponding Java converted class name before any
resource checking will occur. This means that resource names MUST be specified as the Java
class name in dot-separated package name format. For a legacy 4GL name of
some-converted-program-name.p that exists in the "pkgroot" of the project, this
is the correct form:
com.goldencode.testcases.SomeConvertedProgramName
It is valid to implement inexact (regex) matches as well. This would allow all possible matches:
.*
objectPointer, resourceIndex, sm| Constructor and Description |
|---|
EntryPointResource()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Rights |
getRightsInstance(java.lang.Object[] rights)
Instantiates a plugin's class that implements the
Rights interface, using
the array of objects representing a set of access rights fields. |
java.lang.String |
getTypeName()
Returns the plugin resource type name as a string.
|
boolean |
isInstanceNameValid(java.lang.String resource)
Checks whether a given string is a valid resource name for this resource type.
|
describeRights, isAllowed, isRightsSetValidassociate, attach, disassociate, getACLMatcher, getEnclosingScope, getLibrary, getLink, getPermissions, init, refresh, registeredAs, toStringgetLibraries, getLibraryClasses, getLibsByClass, getVariableList, getVariablespublic java.lang.String getTypeName()
getTypeName in interface ResourcegetTypeName in class StringConditionResourcepublic Rights getRightsInstance(java.lang.Object[] rights)
Rights interface, using
the array of objects representing a set of access rights fields.getRightsInstance in interface ResourcegetRightsInstance in class StringConditionResourcerights - The objects needed to create an access rights instance.public boolean isInstanceNameValid(java.lang.String resource)
isInstanceNameValid in interface ResourceisInstanceNameValid in class StringConditionResourceresource - A string naming a resource.true if the name is syntactically correct.