Package de.innovationgate.wga.modules.options

Examples of de.innovationgate.wga.modules.options.PredefinedValuesOptionType.addValue()


        monitorLastChange.setDefaultValue(Boolean.TRUE.toString());
        monitorLastChange.setExpert(true);
        options.addOption(monitorLastChange);
       
        PredefinedValuesOptionType noItemBehaviourProvider = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_NOITEMBEHAVIOUR);
        noItemBehaviourProvider.addValue("default");
        noItemBehaviourProvider.addValue("compatible");
        LocalizedOptionDefinition noItemBehaviour = new LocalizedOptionDefinition(WGDatabase.COPTION_NOITEMBEHAVIOUR, noItemBehaviourProvider, _genericLoader);
        noItemBehaviour.setOptional(true);
        noItemBehaviour.setExpert(true);
        noItemBehaviour.setDefaultValue("default");
View Full Code Here


        monitorLastChange.setExpert(true);
        options.addOption(monitorLastChange);
       
        PredefinedValuesOptionType noItemBehaviourProvider = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_NOITEMBEHAVIOUR);
        noItemBehaviourProvider.addValue("default");
        noItemBehaviourProvider.addValue("compatible");
        LocalizedOptionDefinition noItemBehaviour = new LocalizedOptionDefinition(WGDatabase.COPTION_NOITEMBEHAVIOUR, noItemBehaviourProvider, _genericLoader);
        noItemBehaviour.setOptional(true);
        noItemBehaviour.setExpert(true);
        noItemBehaviour.setDefaultValue("default");
        options.addOption(noItemBehaviour);
View Full Code Here

    public OptionDefinitionsMap getOptionDefinitions() {
        OptionDefinitionsMap options = new OptionDefinitionsMap();
       
        PredefinedValuesOptionType csVersionType = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_CONTENT_STORE_VERSION);
        csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA3));
        csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA5));
        LocalizedOptionDefinition csVersion = new LocalizedOptionDefinition(WGDatabase.COPTION_CONTENT_STORE_VERSION, csVersionType, _genericLoader);
        csVersion.setOptional(true);
        csVersion.setExpert(true);
        options.addOption(csVersion);
View Full Code Here

    public OptionDefinitionsMap getOptionDefinitions() {
        OptionDefinitionsMap options = new OptionDefinitionsMap();
       
        PredefinedValuesOptionType csVersionType = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_CONTENT_STORE_VERSION);
        csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA3));
        csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA5));
        LocalizedOptionDefinition csVersion = new LocalizedOptionDefinition(WGDatabase.COPTION_CONTENT_STORE_VERSION, csVersionType, _genericLoader);
        csVersion.setOptional(true);
        csVersion.setExpert(true);
        options.addOption(csVersion);
       
View Full Code Here

        caching.setExpert(true);
        caching.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(caching);
       
        PredefinedValuesOptionType noItemBehaviourProvider = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_NOITEMBEHAVIOUR);
        noItemBehaviourProvider.addValue("default");
        noItemBehaviourProvider.addValue("compatible");
        LocalizedOptionDefinition noItemBehaviour = new LocalizedOptionDefinition(WGDatabase.COPTION_NOITEMBEHAVIOUR, noItemBehaviourProvider, _genericLoader);
        noItemBehaviour.setOptional(true);
        noItemBehaviour.setExpert(true);
        noItemBehaviour.setDefaultValue("default");
View Full Code Here

        caching.setDefaultValue(Boolean.TRUE.toString());
        options.addOption(caching);
       
        PredefinedValuesOptionType noItemBehaviourProvider = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_NOITEMBEHAVIOUR);
        noItemBehaviourProvider.addValue("default");
        noItemBehaviourProvider.addValue("compatible");
        LocalizedOptionDefinition noItemBehaviour = new LocalizedOptionDefinition(WGDatabase.COPTION_NOITEMBEHAVIOUR, noItemBehaviourProvider, _genericLoader);
        noItemBehaviour.setOptional(true);
        noItemBehaviour.setExpert(true);
        noItemBehaviour.setDefaultValue("default");
        options.addOption(noItemBehaviour);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.