org.opends.server.core
Class NetworkGroupNamingContexts

java.lang.Object
  extended by org.opends.server.core.NetworkGroupNamingContexts

public class NetworkGroupNamingContexts
extends java.lang.Object

This classes defines a list of naming contexts for a network group.


Constructor Summary
NetworkGroupNamingContexts()
          Create a list of naming contexts for a network group.
 
Method Summary
 void addNamingContext(WorkflowTopologyNode workflow)
          Add a workflow in the list of naming context.
 java.lang.Iterable<WorkflowTopologyNode> getNamingContexts()
          Get the list of naming contexts.
 java.lang.Iterable<WorkflowTopologyNode> getPrivateNamingContexts()
          Get the list of private naming contexts.
 java.lang.Iterable<WorkflowTopologyNode> getPublicNamingContexts()
          Get the list of public naming contexts.
 void resetLists()
          Reset the list of naming contexts.
 java.lang.StringBuilder toString(java.lang.String leftMargin)
          Dumps info from the current networkk group for debug purpose.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkGroupNamingContexts

public NetworkGroupNamingContexts()
Create a list of naming contexts for a network group.

Method Detail

resetLists

public void resetLists()
Reset the list of naming contexts.


addNamingContext

public void addNamingContext(WorkflowTopologyNode workflow)
Add a workflow in the list of naming context.

Parameters:
workflow - the workflow to add in the list of naming contexts

getNamingContexts

public java.lang.Iterable<WorkflowTopologyNode> getNamingContexts()
Get the list of naming contexts.
Note: the returned iterable instance is immutable and attempts to remove elements will throw an UnsupportedOperationException exception.

Returns:
the list of all the naming contexts

getPrivateNamingContexts

public java.lang.Iterable<WorkflowTopologyNode> getPrivateNamingContexts()
Get the list of private naming contexts.
Note: the returned iterable instance is immutable and attempts to remove elements will throw an UnsupportedOperationException exception.

Returns:
the list of private naming contexts

getPublicNamingContexts

public java.lang.Iterable<WorkflowTopologyNode> getPublicNamingContexts()
Get the list of public naming contexts.
Note: the returned iterable instance is immutable and attempts to remove elements will throw an UnsupportedOperationException exception.

Returns:
the list of public naming contexts

toString

public java.lang.StringBuilder toString(java.lang.String leftMargin)
Dumps info from the current networkk group for debug purpose.

Parameters:
leftMargin - white spaces used to indent traces
Returns:
a string buffer that contains trace information