Package com.sun.javatest
Class InterviewPropagator
java.lang.Object
com.sun.javatest.InterviewPropagator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Propagation data model.static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Accepts all changes from template to the current configurationGets current PropogateMapstatic boolean
isPropertyQuestion
(String key, InterviewParameters interview) Returns is the specified question is properties questionstatic boolean
isPropertyQuestion
(String key, Map<String, Question> allQ) Returns is the specified question is properties questionstatic String
Properties2 object to its string representation.void
Rejects all changes and store in the current configuration new template values as currentstatic void
static void
static Properties2
Converts string representation of property question to Properties2 object
-
Method Details
-
stringToProperties2
Converts string representation of property question to Properties2 object- Parameters:
str
- - string representation of property question- Returns:
- corresponding Properties2 object
- Throws:
IOException
-
properties2ToString
Properties2 object to its string representation. Used for property question processing- Parameters:
pr
- - Properties2 object- Returns:
- corresponding string representation
-
isPropertyQuestion
Returns is the specified question is properties question- Parameters:
key
- - question keyinterview
- - InterviewParameters object- Returns:
- true if the specified question is properties question, otherwise false
-
isPropertyQuestion
Returns is the specified question is properties question- Parameters:
key
- - question keyallQ
- - question map- Returns:
- true if the specified question is properties question, otherwise false
-
setViewManager
-
setTestRefresher
-
getPropagateMap
Gets current PropogateMap- Returns:
- InterviewPropagator.PropogateMap with actual data
-
acceptAll
public void acceptAll()Accepts all changes from template to the current configuration -
rejectAll
public void rejectAll()Rejects all changes and store in the current configuration new template values as current
-