Package org.jcsp.net.settings
Class NodeProfile
- java.lang.Object
-
- org.jcsp.net.settings.NodeProfile
-
public class NodeProfile extends java.lang.ObjectUsed internally within the JCSP network infrastructure to represent a node profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classNodeProfile.ReqAlreadyExistsException
-
Constructor Summary
Constructors Constructor Description NodeProfile(java.lang.String name, boolean exactMatchRequired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReq(Req req)booleanequals(java.lang.Object o)booleangetExactMatchRequired()java.lang.StringgetName()Req[]getReqs()inthashCode()voidremoveReq(Req req)java.lang.StringtoString()
-
-
-
Method Detail
-
addReq
public void addReq(Req req)
-
removeReq
public void removeReq(Req req)
-
getReqs
public Req[] getReqs()
-
getName
public java.lang.String getName()
-
getExactMatchRequired
public boolean getExactMatchRequired()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-