Tabnine Logo
ResourceConfigs.contains
Code IndexAdd Tabnine to your IDE (free)

How to use
contains
method
in
com.thoughtworks.go.config.ResourceConfigs

Best Java code snippets using com.thoughtworks.go.config.ResourceConfigs.contains (Showing top 2 results out of 315)

origin: gocd/gocd

public boolean shouldAssociate(AgentConfig agent, ResourceConfig resourceConfig) {
  return agent.getResourceConfigs().contains(resourceConfig);
}
origin: gocd/gocd

public boolean add(ResourceConfig resourceConfig) {
  if (!this.contains(resourceConfig) && !StringUtils.isBlank(resourceConfig.getName())) {
    super.add(resourceConfig);
    return true;
  }
  return false;
}
com.thoughtworks.go.configResourceConfigscontains

Popular methods of ResourceConfigs

  • <init>
  • add
  • resourceNames
  • importFromCsv
  • clear
  • stream
  • validateTree
  • compareTo
  • containsAll
  • equals
  • errors
  • exportToCsv
  • errors,
  • exportToCsv,
  • hashCode,
  • isEmpty,
  • iterator,
  • join,
  • remove,
  • size,
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top 12 Jupyter Notebook extensions
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