Class CreateSourceConfig
- java.lang.Object
-
- org.oa4mp.server.loader.qdl.claims.CreateSourceConfig
-
- All Implemented Interfaces:
Serializable,CSConstants,org.qdl_lang.extensions.QDLFunction
public class CreateSourceConfig extends Object implements org.qdl_lang.extensions.QDLFunction, CSConstants
This fills in all of the missing configuration values with their defaults. Sp the contract is that the argument is a stem with the minimum required parameters. All of those are taken and any missing parameters are supplied.Created by Jeff Gaynor
on 2/10/20 at 5:51 AM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATE_SOURCE_NAME-
Fields inherited from interface org.oa4mp.server.loader.qdl.claims.CSConstants
CS_CODE_JAVA_CLASS, CS_DEFAULT_CLAIM_NAME_KEY, CS_DEFAULT_FAIL_ON_ERROR, CS_DEFAULT_ID, CS_DEFAULT_ID_VALUE, CS_DEFAULT_IS_ENABLED, CS_DEFAULT_NAME, CS_DEFAULT_NOTIFY_ON_FAIL, CS_DEFAULT_TYPE, CS_FILE_CLAIM_KEY, CS_FILE_FILE_PATH, CS_FILE_STEM_CLAIMS, CS_HEADERS_PREFIX, CS_HEADERS_REGEX, CS_LDAP_ADDITIONAL_FILTER, CS_LDAP_AUTHZ_TYPE, CS_LDAP_CONTEXT_NAME, CS_LDAP_GROUP_NAMES, CS_LDAP_LISTS, CS_LDAP_MAX_RETRY_SLEEP, CS_LDAP_PASSWORD, CS_LDAP_PORT, CS_LDAP_RENAME, CS_LDAP_RETRY_COUNT, CS_LDAP_SEARCH_ATTRIBUTES, CS_LDAP_SEARCH_BASE, CS_LDAP_SEARCH_FILTER_ATTRIBUTE, CS_LDAP_SEARCH_NAME, CS_LDAP_SEARCH_SCOPE, CS_LDAP_SECURITY_PRINCIPAL, CS_LDAP_SERVER_ADDRESS, CS_TYPE_ALL_HEADERS, CS_TYPE_BASIC, CS_TYPE_CODE, CS_TYPE_FILE, CS_TYPE_FILTER_HEADERS, CS_TYPE_LDAP, CS_TYPE_NCSA, CS_USE_DEFAULT_KEY
-
-
Constructor Summary
Constructors Constructor Description CreateSourceConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.qdl_lang.variables.QDLStemdoFS(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)protected org.qdl_lang.variables.QDLStemdoLDAP(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)protected org.qdl_lang.variables.QDLStemdoNCSA(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)org.qdl_lang.variables.values.QDLValueevaluate(org.qdl_lang.variables.values.QDLValue[] objects, org.qdl_lang.state.State state)int[]getArgCount()List<String>getDocumentation(int argCount)StringgetName()static voidmain(String[] args)protected voidsetBasicValues(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)These are the basic value for every configuration.protected voidsetValue(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem config, String argKey)Case where the key in the argument is the same as the key in the configuration stemprotected voidsetValue(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output, String key, org.qdl_lang.variables.values.QDLValue defaultValue)
-
-
-
Field Detail
-
CREATE_SOURCE_NAME
public static final String CREATE_SOURCE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.qdl_lang.extensions.QDLFunction
-
getArgCount
public int[] getArgCount()
- Specified by:
getArgCountin interfaceorg.qdl_lang.extensions.QDLFunction
-
evaluate
public org.qdl_lang.variables.values.QDLValue evaluate(org.qdl_lang.variables.values.QDLValue[] objects, org.qdl_lang.state.State state)- Specified by:
evaluatein interfaceorg.qdl_lang.extensions.QDLFunction
-
doNCSA
protected org.qdl_lang.variables.QDLStem doNCSA(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)
-
doLDAP
protected org.qdl_lang.variables.QDLStem doLDAP(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)
-
setValue
protected void setValue(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem config, String argKey)Case where the key in the argument is the same as the key in the configuration stem- Parameters:
arg-config-argKey-
-
doFS
protected org.qdl_lang.variables.QDLStem doFS(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)
-
setValue
protected void setValue(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output, String key, org.qdl_lang.variables.values.QDLValue defaultValue)
-
setBasicValues
protected void setBasicValues(org.qdl_lang.variables.QDLStem arg, org.qdl_lang.variables.QDLStem output)These are the basic value for every configuration.- Parameters:
arg-output-
-
getDocumentation
public List<String> getDocumentation(int argCount)
- Specified by:
getDocumentationin interfaceorg.qdl_lang.extensions.QDLFunction
-
main
public static void main(String[] args)
-
-