Examples of newAttribute()


Examples of org.openengsb.core.api.descriptor.ServiceDescriptor.Builder.newAttribute()

            .description("log.outputMode.description").defaultValue("").build());
        builder.attribute(builder.newAttribute().id("outputMode").name("log.outputMode.name")
            .description("log.outputMode.description").defaultValue("log.outputMode.info")
            .option("log.outputMode.debug", "DEBUG").option("log.outputMode.info", "INFO")
            .option("log.outputMode.warn", "WARN").option("log.outputMode.error", "ERROR").required().build());
        builder.attribute(builder.newAttribute().id("flush").name("log.flush.name")
            .description("log.flush.description").defaultValue("false").asBoolean().build());
        return builder.build();
    }

}
View Full Code Here

Examples of org.openengsb.core.api.descriptor.ServiceDescriptor.Builder.newAttribute()

        builder.id("filewatcher");
        builder.name("filewatcher.name", "filewatcher");
        builder.description("filewatcher.description");

        builder.attribute(builder.newAttribute().id("watchfile").name("filewatcher.watchfile.id")
            .description("filewatcher.watchfile.description").build());

        return builder.build();
    }
View Full Code Here

Examples of org.openengsb.core.api.descriptor.ServiceDescriptor.Builder.newAttribute()

    @Override
    public ServiceDescriptor getDescriptor() {
        Builder builder = ServiceDescriptor.builder(strings);
        builder.id(id);
        builder.name("service.name").description("service.description");
        builder.attribute(builder.newAttribute().id("attr").name("service.attr.name")
            .description("service.attr.description").build());
        return builder.build();
    }

}
View Full Code Here

Examples of org.openengsb.core.api.descriptor.ServiceDescriptor.Builder.newAttribute()

    @Override
    public ServiceDescriptor getDescriptor() {
        Builder builder = ServiceDescriptor.builder(strings);
        builder.id(id);
        builder.name("UsernamePasswordAuthenticator.name").description("UsernamePasswordAuthenticator.description");
        builder.attribute(builder.newAttribute().id("attr").name("UsernamePasswordAuthenticator.attr")
            .description("UsernamePasswordAuthenticator.attr.description")
            .defaultValue("${connectorName.atr.defaultValue}")
            .required()
            .build());
        return builder.build();
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.