All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.svm.hosted.SecurityServicesFeature_OptionDescriptors Maven / Gradle / Ivy

There is a newer version: 19.2.1
Show newest version
// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// Source: SecurityServicesFeature.java
package com.oracle.svm.hosted;

import java.util.*;
import org.graalvm.compiler.options.*;
import org.graalvm.compiler.options.OptionType;

public class SecurityServicesFeature_OptionDescriptors implements OptionDescriptors {
    @Override
    public OptionDescriptor get(String value) {
        switch (value) {
        // CheckStyle: stop line length check
        case "EnableSecurityServicesFeature": {
            return OptionDescriptor.create(
                /*name*/ "EnableSecurityServicesFeature",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Boolean.class,
                /*help*/ "Enable the feature that provides support for security services.",
                /*declaringClass*/ SecurityServicesFeature.Options.class,
                /*fieldName*/ "EnableSecurityServicesFeature",
                /*option*/ SecurityServicesFeature.Options.EnableSecurityServicesFeature);
        }
        case "TraceSecurityServices": {
            return OptionDescriptor.create(
                /*name*/ "TraceSecurityServices",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Boolean.class,
                /*help*/ "Enable trace logging for the security services feature.",
                /*declaringClass*/ SecurityServicesFeature.Options.class,
                /*fieldName*/ "TraceSecurityServices",
                /*option*/ SecurityServicesFeature.Options.TraceSecurityServices);
        }
        // CheckStyle: resume line length check
        }
        return null;
    }

    @Override
    public Iterator iterator() {
        return new Iterator() {
            int i = 0;
            @Override
            public boolean hasNext() {
                return i < 2;
            }
            @Override
            public OptionDescriptor next() {
                switch (i++) {
                    case 0: return get("EnableSecurityServicesFeature");
                    case 1: return get("TraceSecurityServices");
                }
                throw new NoSuchElementException();
            }
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy