Package step.client.reports
Class RemoteReportTreeAccessor
- java.lang.Object
-
- step.client.AbstractRemoteClient
-
- step.client.reports.RemoteReportTreeAccessor
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ReportTreeAccessor
public class RemoteReportTreeAccessor extends AbstractRemoteClient implements ReportTreeAccessor
-
-
Field Summary
-
Fields inherited from class step.client.AbstractRemoteClient
client, cookies, credentials
-
-
Constructor Summary
Constructors Constructor Description RemoteReportTreeAccessor()RemoteReportTreeAccessor(ControllerCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportNodeget(java.lang.String id)Get a ReportNode by IDjava.util.Iterator<ReportNode>getChildren(java.lang.String parentID)Returns the list of children of the ReportNode-
Methods inherited from class step.client.AbstractRemoteClient
close, executeRequest, notImplemented, requestBuilder, requestBuilder
-
-
-
-
Constructor Detail
-
RemoteReportTreeAccessor
public RemoteReportTreeAccessor(ControllerCredentials credentials)
-
RemoteReportTreeAccessor
public RemoteReportTreeAccessor()
-
-
Method Detail
-
getChildren
public java.util.Iterator<ReportNode> getChildren(java.lang.String parentID)
Description copied from interface:ReportTreeAccessorReturns the list of children of the ReportNode- Specified by:
getChildrenin interfaceReportTreeAccessor- Parameters:
parentID- the ID of the parent ReportNode- Returns:
- an Iterator of the list of children
-
get
public ReportNode get(java.lang.String id)
Description copied from interface:ReportTreeAccessorGet a ReportNode by ID- Specified by:
getin interfaceReportTreeAccessor- Parameters:
id- the id of the ReportNode- Returns:
- the report node or null if no ReportNode exists with this id
-
-