public class EnvironmentInterview extends Interview implements Parameters.LegacyEnvParameters
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.ObserverEXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, helpSetFactory, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, SEMANTIC_VERSION_50, TEMPLATE_PREF| Constructor and Description |
|---|
EnvironmentInterview(InterviewParameters parent)
Create an interview.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File[] |
getAbsoluteEnvFiles()
Get the set of files which define the environment used to run
the tests.
|
TestEnvironment |
getEnv()
Get the environment specified by the environment files and environment name,
or null, if it cannot be determined.
|
java.io.File[] |
getEnvFiles()
Get the environment files specified in the interview.
|
java.lang.String |
getEnvName()
Get the environment name specified in the interview.
|
void |
setEnvFiles(java.io.File[] files)
Set the environment files for the interview.
|
void |
setEnvName(java.lang.String name)
Set the environment name for the interview.
|
addObserver, callInterview, clear, clearMarkedResponses, containsObserver, createChecklist, createChecklistItem, createChecklistItem, createChecklistItem, export, getAllQuestions, getCurrentQuestion, getDefaultImage, getExportIgnoreExceptionPolicy, getExternalProperties, getFirstQuestion, getHelpSet, getInterview, getInterviewSemantics, getParent, getPath, getPathToCurrent, getPropertyKeys, getQuestions, getRawPath, getResourceBundle, getResourceString, getResourceString, getRoot, getTag, getTitle, hasNext, hasValidNext, isChecklistEmpty, isChecksumValid, isEdited, isFinishable, isFirst, isInterviewFinishable, isLast, isRoot, isStarted, iteratePath, iteratePathToCurrent, last, load, load, next, pathContains, pathContains, prev, propagateTemplateForAll, readLocale, removeAllMarkers, removeMarkers, removeObserver, reset, retrieveProperty, retrieveTemplateKeys, retrieveTemplateProperty, save, setBaseTag, setCurrentQuestion, setDefaultImage, setEdited, setExportIgnoreExceptionPolicy, setFirstQuestion, setHelpSet, setHelpSet, setHelpSet, setInterviewSemantics, setResourceBundle, setResourceBundle, setTitle, storeProperty, storeTemplateProperties, storeTemplateProperty, updatePath, updatePath, verifyPathContains, writeLocalepublic EnvironmentInterview(InterviewParameters parent) throws Interview.Fault
parent - The parent interview of which this is a child.Interview.Fault - if there is a problem while creating the interview.public java.io.File[] getEnvFiles()
getEnvFiles in interface Parameters.LegacyEnvParameterssetEnvFiles(java.io.File[])public java.io.File[] getAbsoluteEnvFiles()
Parameters.LegacyEnvParametersgetAbsoluteEnvFiles in interface Parameters.LegacyEnvParametersParameters.LegacyEnvParameters.getEnvFiles(),
Parameters.LegacyEnvParameters.setEnvFiles(java.io.File[])public void setEnvFiles(java.io.File[] files)
setEnvFiles in interface Parameters.LegacyEnvParametersfiles - the environment files for the interviewgetEnvFiles()public java.lang.String getEnvName()
getEnvName in interface Parameters.LegacyEnvParameterssetEnvName(java.lang.String)public void setEnvName(java.lang.String name)
setEnvName in interface Parameters.LegacyEnvParametersname - the environment name for the interviewgetEnvName()public TestEnvironment getEnv()
getEnv in interface Parameters.EnvParametersgetEnvFiles(),
getEnvName()Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.