|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.graphs.GraphEntry
public class GraphEntry
Single value of the map entries from spec.xml. A value such as "HARD;/Roi" specifies that the operation with the name "HARD" should be applied to the given path, and that the given path should use a pre-existing specification.
IGraph
Field Summary | |
---|---|
static GraphOpts.Op |
DEFAULT
|
Constructor Summary | |
---|---|
GraphEntry(GraphSpec self,
String value)
|
|
GraphEntry(GraphSpec self,
String name,
GraphEntry entry)
|
Method Summary | |
---|---|
protected void |
checkArgs(Object... values)
|
long |
getId()
|
protected Matcher |
getMatcher(String operation)
|
String |
getName()
|
protected String |
getName(Matcher m)
|
protected GraphOpts.Op |
getOp(Matcher m)
|
protected String |
getPath(Matcher m)
|
GraphSpec |
getSubSpec()
|
String |
getSuperSpec()
|
int |
initialize(long id,
String superspec,
Map<String,String> options)
Called during GraphSpec.initialize(long, String, Map) to give
the entry a chance to modify its #op based on the options and to
initialize subspecs. |
boolean |
isKeep()
|
boolean |
isNull()
|
boolean |
isSoft()
|
String |
log(String superspec)
Similar to toString() but used to |
String[] |
path(String superspec)
|
void |
pop(GraphOpts opts)
|
protected void |
postProcess(org.springframework.beans.factory.ListableBeanFactory factory)
Load the spec which has the same name as this entry, but do not load the spec if the name matches name . |
void |
push(GraphOpts opts,
EventContext ec)
|
boolean |
skip()
A KEEP setting is a way of putting a KEEP suggestion to vote. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GraphOpts.Op DEFAULT
Constructor Detail |
---|
public GraphEntry(GraphSpec self, String value)
public GraphEntry(GraphSpec self, String name, GraphEntry entry)
Method Detail |
---|
public String getName()
public boolean isKeep()
public GraphSpec getSubSpec()
public String getSuperSpec()
public long getId()
public String[] path(String superspec)
protected void checkArgs(Object... values)
protected Matcher getMatcher(String operation)
protected String getName(Matcher m)
protected GraphOpts.Op getOp(Matcher m)
protected String getPath(Matcher m)
protected void postProcess(org.springframework.beans.factory.ListableBeanFactory factory)
name
. This is called early in the
GraphEntry
lifecycle, by GraphSpec
.
public int initialize(long id, String superspec, Map<String,String> options) throws GraphException
GraphSpec.initialize(long, String, Map)
to give
the entry a chance to modify its #op
based on the options and to
initialize subspecs.
The superspec is passed in so that both the absolute path as well as the
last path element can be checked. Further, a key of "/" apply to all
entries.
GraphException
public boolean skip()
public boolean isNull()
public boolean isSoft()
public void push(GraphOpts opts, EventContext ec) throws GraphException
GraphException
public void pop(GraphOpts opts)
public String toString()
toString
in class Object
public String log(String superspec)
toString()
but used to
superspec2
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.