SmartFrog 3.10.000

org.smartfrog.services.management
Class DeployEntry

java.lang.Object
  extended by org.smartfrog.services.management.DeployEntry
All Implemented Interfaces:
Entry

public class DeployEntry
extends java.lang.Object
implements Entry

DeployEntry class implements the interface Entry. It is a tree entry proxy for SmartFrog (Prim) components.

See Also:
Entry

Field Summary
 
Fields inherited from interface org.smartfrog.services.trace.Entry
CRLF
 
Constructor Summary
DeployEntry()
          Constructs the DeployEntry object
DeployEntry(java.lang.Object entry, boolean showRootProcessName, boolean showCDasChild)
          Constructs the DeployEntry object
DeployEntry(java.lang.String message)
          Constructs for the DeployEntry object with the message
 
Method Summary
 boolean add(java.lang.String msg)
          Not implemented.
 boolean add(java.lang.String DN, java.lang.Object value)
          Not implemented.
 java.lang.String attributesString()
          Returns attributes string
 java.lang.String childrenString()
          Returns children string
 java.lang.Object[][] getAttributes()
          Gets the attributes attribute of the DeployEntry object
 java.lang.Object getChild(int index)
          Gets the Child at "index"
 java.lang.Object[][] getChildren()
          Gets the children attribute of the DeployEntry object
 int getChildrenCount()
          To Get the number of children of the entry
 java.lang.String getDN()
          Gets the dN attribute of the DeployEntry object
 java.lang.Object getEntry()
          Search for a particular entry in its children tree.
 DeployEntry getEntry(java.lang.String DN, boolean allLevel)
          Search for a particular entry in its children tree.
 int getIndexOfChild(java.lang.Object child)
          Gets the indexOfChild attribute of the DeployEntry object
 java.lang.String getName()
          Gets the name attribute of the DeployEntry object
 java.lang.String getParentDN()
          Gets the parentDN attribute of the DeployEntry object
 java.lang.String getRDN()
          Gets the rDN attribute of the DeployEntry object
 DeployEntry getRoot()
          Gets the root attribute of the DeployEntry object
 void info()
          Displays the description of the DeployEntry
 boolean isLeaf()
          Checks if the DeployEntry is the leaf
 boolean remove(java.lang.String DN)
          Not implemented.
 int sizeAttributes()
          Returns the size of the attributes
 int sizeChildren()
          Returns the size of children
 java.lang.String toString()
          Gets string representation of the deploy entry
 java.lang.String toStringAll()
          Returns a textual representation of the deploy entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployEntry

public DeployEntry(java.lang.Object entry,
                   boolean showRootProcessName,
                   boolean showCDasChild)
Constructs the DeployEntry object

Parameters:
entry - object entry.
showRootProcessName - flag indicating to show rootprocess name
showCDasChild - flag indicating to show CD as child

DeployEntry

public DeployEntry()
Constructs the DeployEntry object


DeployEntry

public DeployEntry(java.lang.String message)
Constructs for the DeployEntry object with the message

Parameters:
message - The message
Method Detail

isLeaf

public boolean isLeaf()
Checks if the DeployEntry is the leaf

Specified by:
isLeaf in interface Entry
Returns:
boolean true if it is leaf entry else false

getRoot

public DeployEntry getRoot()
Gets the root attribute of the DeployEntry object

Returns:
The root value

getName

public java.lang.String getName()
Gets the name attribute of the DeployEntry object

Specified by:
getName in interface Entry
Returns:
The name value

getRDN

public java.lang.String getRDN()
Gets the rDN attribute of the DeployEntry object

Specified by:
getRDN in interface Entry
Returns:
The rDN value

getParentDN

public java.lang.String getParentDN()
Gets the parentDN attribute of the DeployEntry object

Specified by:
getParentDN in interface Entry
Returns:
The parentDN value

getDN

public java.lang.String getDN()
Gets the dN attribute of the DeployEntry object

Specified by:
getDN in interface Entry
Returns:
The dN value

getChild

public java.lang.Object getChild(int index)
Gets the Child at "index"

Parameters:
index - the index value
Returns:
The child value

getChildrenCount

public int getChildrenCount()
To Get the number of children of the entry

Specified by:
getChildrenCount in interface Entry
Returns:
The childrenCount value

getIndexOfChild

public int getIndexOfChild(java.lang.Object child)
Gets the indexOfChild attribute of the DeployEntry object

Parameters:
child - Child object
Returns:
The index value of child

getAttributes

public java.lang.Object[][] getAttributes()
Gets the attributes attribute of the DeployEntry object

Returns:
The attributes value

getChildren

public java.lang.Object[][] getChildren()
Gets the children attribute of the DeployEntry object

Returns:
The children value

getEntry

public java.lang.Object getEntry()
Search for a particular entry in its children tree.

Returns:
The entry value

getEntry

public DeployEntry getEntry(java.lang.String DN,
                            boolean allLevel)
Search for a particular entry in its children tree.

Parameters:
DN - Deploy Entry
allLevel - boolean indicator for all level
Returns:
The entry value

add

public boolean add(java.lang.String msg)
Not implemented.

Parameters:
msg -
Returns:
boolean - Throws exception.

add

public boolean add(java.lang.String DN,
                   java.lang.Object value)
Not implemented.

Specified by:
add in interface Entry
Parameters:
DN -
value -
Returns:
boolean - Throws exception.

remove

public boolean remove(java.lang.String DN)
Not implemented.

Specified by:
remove in interface Entry
Parameters:
DN -
Returns:
boolean - Throws exception!

toString

public java.lang.String toString()
Gets string representation of the deploy entry

Specified by:
toString in interface Entry
Overrides:
toString in class java.lang.Object
Returns:
string representation of the deploy entry

toStringAll

public java.lang.String toStringAll()
Returns a textual representation of the deploy entry

Returns:
textual representation of the deploy entry

childrenString

public java.lang.String childrenString()
Returns children string

Returns:
children string

attributesString

public java.lang.String attributesString()
Returns attributes string

Returns:
attributes in sting form.

sizeAttributes

public int sizeAttributes()
Returns the size of the attributes

Returns:
Size of the attributes

sizeChildren

public int sizeChildren()
Returns the size of children

Returns:
size of children

info

public void info()
Displays the description of the DeployEntry


SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP