public class InterviewPropagator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
InterviewPropagator.PropogateMap
Propagation data model.
|
static interface |
InterviewPropagator.TestRefresher |
static interface |
InterviewPropagator.ViewManager |
Modifier and Type | Method and Description |
---|---|
void |
acceptAll()
Accepts all changes from template to the current configuration
|
InterviewPropagator.PropogateMap |
getPropagateMap()
Gets current PropogateMap
|
static boolean |
isPropertyQuestion(java.lang.String key,
InterviewParameters interview)
Returns is the specified question is properties question
|
static boolean |
isPropertyQuestion(java.lang.String key,
java.util.Map<java.lang.String,Question> allQ)
Returns is the specified question is properties question
|
static java.lang.String |
properties2ToString(Properties2 pr)
Properties2 object to its string representation.
|
void |
rejectAll()
Rejects all changes and store in the current configuration new template values as current
|
static void |
setTestRefresher(InterviewPropagator.TestRefresher r) |
static void |
setViewManager(InterviewPropagator.ViewManager v) |
static Properties2 |
stringToProperties2(java.lang.String str)
Converts string representation of property question to Properties2 object
|
public InterviewPropagator.PropogateMap getPropagateMap()
public void acceptAll()
public void rejectAll()
public static Properties2 stringToProperties2(java.lang.String str) throws java.io.IOException
str
- - string representation of property questionjava.io.IOException
public static java.lang.String properties2ToString(Properties2 pr)
pr
- - Properties2 objectpublic static boolean isPropertyQuestion(java.lang.String key, InterviewParameters interview)
key
- - question keyinterview
- - InterviewParameters objectpublic static boolean isPropertyQuestion(java.lang.String key, java.util.Map<java.lang.String,Question> allQ)
key
- - question keyallQ
- - question mappublic static void setViewManager(InterviewPropagator.ViewManager v)
public static void setTestRefresher(InterviewPropagator.TestRefresher r)
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.