Codota Logo
SimpleAttributeDefinitionBuilder.setRequired
Code IndexAdd Codota to your IDE (free)

How to use
setRequired
method
in
org.jboss.as.controller.SimpleAttributeDefinitionBuilder

Best Java code snippets using org.jboss.as.controller.SimpleAttributeDefinitionBuilder.setRequired (Showing top 20 results out of 315)

  • Common ways to obtain SimpleAttributeDefinitionBuilder
private void myMethod () {
SimpleAttributeDefinitionBuilder s =
  • Codota IconString attributeName;SimpleAttributeDefinition basis;new SimpleAttributeDefinitionBuilder(attributeName, basis)
  • Codota IconString attributeName;ModelType type;new SimpleAttributeDefinitionBuilder(attributeName, type)
  • Codota IconSimpleAttributeDefinition basis;new SimpleAttributeDefinitionBuilder(basis)
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

  @Override
  public SimpleAttributeDefinitionBuilder apply(SimpleAttributeDefinitionBuilder builder) {
    return builder.setAllowExpression(true).setRequired(false);
  }
},
origin: wildfly/wildfly

  @Override
  public SimpleAttributeDefinitionBuilder apply(SimpleAttributeDefinitionBuilder builder) {
    return builder.setRequired(true)
        .setAllowExpression(false)
        .setCapabilityReference(new CapabilityReference(Capability.JCHANNEL_FACTORY, JGroupsRequirement.CHANNEL_FACTORY))
        ;
  }
},
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setRequired(true)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, ModelType.STRING)
      .setRequired(true)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

DeprecatedAttribute(String name, ModelType type, JGroupsModel deprecation) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setRequired(false)
      .setDeprecated(deprecation.getVersion())
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(false)
      .setRequired(true)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setDefaultValue(defaultValue)
      .setRequired(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

static SimpleAttributeDefinitionBuilder createBuilder(String name, ModelType type, ModelNode defaultValue) {
  return new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(defaultValue == null)
      .setDefaultValue(defaultValue)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .setMeasurementUnit((type == ModelType.LONG) ? MeasurementUnit.MILLISECONDS : null)
      ;
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .setRestartAllServices()
  ).build();
}
origin: wildfly/wildfly

ThreadingAttribute(String name) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, ModelType.STRING)
      .setAllowExpression(false)
      .setRequired(false)
      .setDeprecated(JGroupsModel.VERSION_3_0_0.getVersion())
      .setFlags(AttributeAccess.Flag.RESTART_NONE)
      .build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type) {
  this.definition = this.apply(new SimpleAttributeDefinitionBuilder(name, type)
      .setRequired(false)
      .setAllowExpression(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .setXmlName(XMLAttribute.DEFAULT.getLocalName())
      ).build();
}
origin: wildfly/wildfly

Attribute(String name, ModelType type, ModelNode defaultValue) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type)
      .setAllowExpression(true)
      .setRequired(false)
      .setDefaultValue(defaultValue)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .setDeprecated(InfinispanModel.VERSION_6_0_0.getVersion())
      .build();
}
origin: wildfly/wildfly

Attribute(String attributeName, ModelType type, CapabilityReference capabilityReference) {
  this.definition = new SimpleAttributeDefinitionBuilder(attributeName, type)
      .setRequired(false)
      .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES)
      .setAllowExpression(false)
      .setCapabilityReference(capabilityReference)
      .setValidator(new StringLengthValidator(1))
      .setAccessConstraints(SensitiveTargetAccessConstraintDefinition.SSL_REF)
      .build();
}
org.jboss.as.controllerSimpleAttributeDefinitionBuildersetRequired

Popular methods of SimpleAttributeDefinitionBuilder

  • build
  • <init>
  • setAllowExpression
  • setValidator
  • setDefaultValue
  • create
  • setFlags
  • setStorageRuntime
  • setCapabilityReference
  • setDeprecated
  • setMeasurementUnit
  • setRestartAllServices
  • setMeasurementUnit,
  • setRestartAllServices,
  • setXmlName,
  • setAccessConstraints,
  • setAlternatives,
  • addAccessConstraint,
  • setAttributeMarshaller,
  • setCorrector,
  • addAlternatives

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now