Class JSInterface
java.lang.Object
org.jboss.arquillian.graphene.javascript.JSInterface
Represents the JavaScript interface instance
- Author:
- Lukas Fryc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>Returns the class which defines this instance of JavaScript interfaceReturns all JavaScript interfaces which are dependencies of this interface as specified byDependency.interfaces().getJSMethod(String methodName, Object... arguments) Retrieves JavaScript interface method with given name and arguments.getName()Returns the name of defined JavaScript interface as specified byJavaScriptannotation.ReturnsExecutionResolverfor this interface as specified byJavaScript.executionResolver().Returns all resources which are dependencies of this interface as specified byDependency.sources().booleanReturns true if this interface isInstallableJavaScript.toString()
-
Constructor Details
-
JSInterface
-
-
Method Details
-
getInterface
Returns the class which defines this instance of JavaScript interface -
getName
Returns the name of defined JavaScript interface as specified by
JavaScriptannotation.If no name is specified, the simple name of an implementation type is used instead.
-
getSourceDependencies
Returns all resources which are dependencies of this interface as specified byDependency.sources(). -
getJSInterfaceDependencies
Returns all JavaScript interfaces which are dependencies of this interface as specified byDependency.interfaces(). -
getJSMethod
Retrieves JavaScript interface method with given name and arguments. -
isInstallable
public boolean isInstallable()Returns true if this interface isInstallableJavaScript. -
getResolver
ReturnsExecutionResolverfor this interface as specified byJavaScript.executionResolver(). -
toString
-