public class DefaultLoadOptions extends Object implements LoadOptions
Constructor and Description |
---|
DefaultLoadOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxNodes()
The maximum number of nodes to load.
|
String |
getNodeNamePattern()
A string pattern used to match the nodes to load.
|
Collection<String> |
getResourceIds()
The resource identifiers to take into account when loading the children nodes.
|
void |
setMaxNodes(int maxNodes) |
void |
setNodeNamePattern(String nodeNamePattern) |
void |
setResourceIds(Collection<String> resourceIds) |
public String getNodeNamePattern()
LoadOptions
getNodeNamePattern
in interface LoadOptions
public void setNodeNamePattern(String nodeNamePattern)
public Collection<String> getResourceIds()
LoadOptions
getResourceIds
in interface LoadOptions
public void setResourceIds(Collection<String> resourceIds)
public int getMaxNodes()
LoadOptions
NOTE: It can only be used in combination with the LoadOptions.getNodeNamePattern()
option.
getMaxNodes
in interface LoadOptions
public void setMaxNodes(int maxNodes)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.