Enum Class SurveyRequestParameter
java.lang.Object
java.lang.Enum<SurveyRequestParameter>
org.odpi.openmetadata.frameworks.opensurvey.controls.SurveyRequestParameter
- All Implemented Interfaces:
Serializable,Comparable<SurveyRequestParameter>,Constable
RequestParameter provides some standard definitions for request parameters used to pass properties
to governance actions when they run. Using standard names for request parameters wherever necessary
helps to simplify the integration of governance services.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProvides a list of schema names that should not be surveyed.The name of the last analysis step that the survey action service is to run.Provides a list of schema names that should be surveyed. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the data type for the request parameter.Return the description of the request parameter.Return an example of the request parameter to help users understand how to set it up.static ConfigurationPropertyTypegetFinalAnalysisStepConfigurationPropertyType(AnalysisStep[] finalAnalysisSteps) Return the description of the finalAnalysisStep configuration property for a particular survey action service.static RequestParameterTypegetFinalAnalysisStepType(AnalysisStep[] finalAnalysisSteps) Return the description of the finalAnalysisStep request parameter for a particular survey action service.getName()Return the name of the request parameter.Return a summary of this enum to use in a service provider.static List<RequestParameterType> getRequestParameterTypes(AnalysisStep[] finalAnalysisSteps) Retrieve the request parameters that every survey action service supports.static List<RequestParameterType> getSchemaSurveyRequestParameterTypes(AnalysisStep[] finalAnalysisSteps) Retrieve the request parameters supported by a survey action service that can be limited to some of the schemas it finds.toString()Output of this enum class and main value.static SurveyRequestParameterReturns the enum constant of this class with the specified name.static SurveyRequestParameter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FINAL_ANALYSIS_STEP
The name of the last analysis step that the survey action service is to run. The survey stops once this step is complete. If the survey never reaches the named step, it runs to completion. The values that a survey action service supports are listed, in the order it runs them, in the validValues property of its finalAnalysisStep supported request parameter. -
INCLUDE_SCHEMA_NAMES
Provides a list of schema names that should be surveyed. Other schemas are ignored. This takes precedence over the exclude list. -
EXCLUDE_SCHEMA_NAMES
Provides a list of schema names that should not be surveyed. Only schemas not in this list are surveyed.
-
-
Field Details
-
name
-
description
-
dataType
-
example
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Return the name of the request parameter.- Returns:
- string name
-
getDescription
Return the description of the request parameter.- Returns:
- text
-
getDataType
Return the data type for the request parameter.- Returns:
- data type name
-
getExample
Return an example of the request parameter to help users understand how to set it up.- Returns:
- example
-
getRequestParameterTypes
public static List<RequestParameterType> getRequestParameterTypes(AnalysisStep[] finalAnalysisSteps) Retrieve the request parameters that every survey action service supports.- Parameters:
finalAnalysisSteps- the analysis steps that the survey action service can stop after, in the order it runs them; null if they are not known- Returns:
- list of request parameter types
-
getSchemaSurveyRequestParameterTypes
public static List<RequestParameterType> getSchemaSurveyRequestParameterTypes(AnalysisStep[] finalAnalysisSteps) Retrieve the request parameters supported by a survey action service that can be limited to some of the schemas it finds.- Parameters:
finalAnalysisSteps- the analysis steps that the survey action service can stop after, in the order it runs them; null if they are not known- Returns:
- list of request parameter types
-
getFinalAnalysisStepType
Return the description of the finalAnalysisStep request parameter for a particular survey action service. The analysis steps it can stop after are listed in the validValues property, separated by commas, so that a caller can discover them from the service's specification.- Parameters:
finalAnalysisSteps- the analysis steps that the survey action service can stop after, in the order it runs them; null if they are not known- Returns:
- request parameter type
-
getFinalAnalysisStepConfigurationPropertyType
public static ConfigurationPropertyType getFinalAnalysisStepConfigurationPropertyType(AnalysisStep[] finalAnalysisSteps) Return the description of the finalAnalysisStep configuration property for a particular survey action service. It sets the final analysis step for every survey the service runs, unless a request overrides it with the request parameter of the same name.- Parameters:
finalAnalysisSteps- the analysis steps that the survey action service can stop after, in the order it runs them; null if they are not known- Returns:
- configuration property type
-
getRequestParameterType
Return a summary of this enum to use in a service provider.- Returns:
- request parameter type
-
toString
Output of this enum class and main value.- Overrides:
toStringin classEnum<SurveyRequestParameter>- Returns:
- string showing enum value
-