congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ServerGroupEffect
Code IndexAdd Tabnine to your IDE (free)

How to use
ServerGroupEffect
in
org.jboss.as.controller.access

Best Java code snippets using org.jboss.as.controller.access.ServerGroupEffect (Showing top 3 results out of 315)

origin: org.wildfly/wildfly-controller

private Constraint getRequiredConstraint(ServerGroupEffect serverGroupEffect) {
  if (serverGroupEffect == null || serverGroupEffect.isServerGroupEffectGlobal()) {
    return GLOBAL_REQUIRED;
  } else if (serverGroupEffect.isServerGroupEffectUnassigned()) {
    return UNASSIGNED;
  }
  return new ServerGroupEffectConstraint(serverGroupEffect.getAffectedServerGroups(),
      serverGroupEffect.isServerGroupAdd(), serverGroupEffect.isServerGroupRemove());
}
origin: wildfly/wildfly-core

private Constraint getRequiredConstraint(ServerGroupEffect serverGroupEffect, HostEffect hostEffect) {
  boolean nonServerHost = hostEffect != null && !hostEffect.isHostEffectGlobal() && !hostEffect.isServerEffect();
  if (serverGroupEffect == null || serverGroupEffect.isServerGroupEffectGlobal()) {
    if (nonServerHost) {
      return HOST_GLOBAL_REQUIRED;
    }
    return DOMAIN_GLOBAL_REQUIRED;
  } else if (serverGroupEffect.isServerGroupEffectUnassigned()) {
    return UNASSIGNED;
  }
  return new ServerGroupEffectConstraint(serverGroupEffect.getAffectedServerGroups(),
      nonServerHost, serverGroupEffect.isServerGroupAdd(), serverGroupEffect.isServerGroupRemove());
}
origin: org.wildfly.core/wildfly-controller

private Constraint getRequiredConstraint(ServerGroupEffect serverGroupEffect, HostEffect hostEffect) {
  boolean nonServerHost = hostEffect != null && !hostEffect.isHostEffectGlobal() && !hostEffect.isServerEffect();
  if (serverGroupEffect == null || serverGroupEffect.isServerGroupEffectGlobal()) {
    if (nonServerHost) {
      return HOST_GLOBAL_REQUIRED;
    }
    return DOMAIN_GLOBAL_REQUIRED;
  } else if (serverGroupEffect.isServerGroupEffectUnassigned()) {
    return UNASSIGNED;
  }
  return new ServerGroupEffectConstraint(serverGroupEffect.getAffectedServerGroups(),
      nonServerHost, serverGroupEffect.isServerGroupAdd(), serverGroupEffect.isServerGroupRemove());
}
org.jboss.as.controller.accessServerGroupEffect

Javadoc

Encapsulates information about the relationship of a resource to server groups in a domain.

Most used methods

  • getAffectedServerGroups
    Gets the names of the server groups affected by this resource, or null if #isServerGroupEffectGlobal
  • isServerGroupAdd
    Gets whether this effect adds the affected server groups.
  • isServerGroupEffectGlobal
    Gets whether the resource logically affects all server groups, including server groups that may not
  • isServerGroupEffectUnassigned
    Gets whether the resource logically only affects certain server groups but hasn't been specifically
  • isServerGroupRemove
    Gets whether this effect removes the affected server groups.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Option (scala)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now