public interface IProjectNodes
| Modifier and Type | Method and Description |
|---|---|
INodeSet |
getNodeSet()
Returns the set of nodes for the project
|
java.util.ArrayList<java.lang.Exception> |
getResourceModelSourceExceptions() |
java.util.Map<java.lang.String,java.lang.Exception> |
getResourceModelSourceExceptionsMap() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
listResourceModelConfigurations()
list the configurations of resource model providers.
|
void |
updateNodesResourceFile(INodeSet nodeset,
java.lang.String nodesResourcesFilePath)
Update the resources file given an input Nodes set
|
boolean |
updateNodesResourceFile(java.lang.String nodesResourcesFilePath)
Conditionally update the nodes resources file if a URL source is defined for it and return
true if the update process was invoked and succeeded
|
void |
updateNodesResourceFileFromUrl(java.lang.String providerURL,
java.lang.String username,
java.lang.String password,
java.lang.String nodesResourceFilePath)
Update the nodes resources file from a specific URL, with BASIC authentication as provided or
as defined in the URL's userInfo section.
|
INodeSet getNodeSet()
INodeSetjava.util.ArrayList<java.lang.Exception> getResourceModelSourceExceptions()
java.util.Map<java.lang.String,java.lang.Exception> getResourceModelSourceExceptionsMap()
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> listResourceModelConfigurations()
boolean updateNodesResourceFile(java.lang.String nodesResourcesFilePath)
throws UpdateUtils.UpdateException
nodesResourcesFilePath - destination file pathUpdateUtils.UpdateException - if an error occurs while trying to update the resources filevoid updateNodesResourceFileFromUrl(java.lang.String providerURL,
java.lang.String username,
java.lang.String password,
java.lang.String nodesResourceFilePath)
throws UpdateUtils.UpdateException
providerURL - URL to retrieve resources file definitionusername - username or nullpassword - or nullnodesResourceFilePath - path of the destination fileUpdateUtils.UpdateException - if an error occurs during the update processvoid updateNodesResourceFile(INodeSet nodeset, java.lang.String nodesResourcesFilePath) throws UpdateUtils.UpdateException
nodeset - nodesnodesResourcesFilePath - destination file pathUpdateUtils.UpdateException - if an error occurs while trying to update the
resources file or generate
nodes