Package com.ebasetech.xi.api
Interface Resources
- All Superinterfaces:
java.lang.Iterable<Resource>
public interface Resources extends java.lang.Iterable<Resource>
The
Resources
interface acts as a parent object for all resources within the Business View associated with a form,
integration service or workflow process.
Individual resources are accessed using their resource name.
When the name is not a valid Java identifier e.g. it begins with a numeric, the resource can only be
accessed using the getResource(String)
method.
When running an event that forms part of a deployed component, only resources from the component can be accessed.
All included resources can be iterated using the following code:
for ( var resource in Iterator(resources.iterator()) ) { log(resource.elementName); }Examples:
resources.REQUESTS.fetch(); resources.EMAIL1.sendmail(); resources.getResource("12WS").call();
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description Resource
getResource(java.lang.String resourceName)
Returns theResource
with nameresourceName
.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getResource
Returns theResource
with nameresourceName
.- Since:
- V4.4
-