Tabnine Logo
PropertyType.containsValue
Code IndexAdd Tabnine to your IDE (free)

How to use
containsValue
method
in
net.nemerosa.ontrack.model.structure.PropertyType

Best Java code snippets using net.nemerosa.ontrack.model.structure.PropertyType.containsValue (Showing top 2 results out of 315)

origin: net.nemerosa.ontrack/ontrack-model

  public boolean containsValue(String propertyValue) {
    return value != null && type.containsValue(value, propertyValue);
  }
}
origin: net.nemerosa.ontrack/ontrack-ui-graphql

private <T> boolean matchProperty(ProjectEntity e, PropertyFilter filter) {
  PropertyType<T> type = propertyService.getPropertyTypeByName(filter.getType());
  Property<T> property = propertyService.getProperty(e, filter.getType());
  return !property.isEmpty() &&
      (
          StringUtils.isBlank(filter.getValue()) ||
              type.containsValue(property.getValue(), filter.getValue())
      );
}
net.nemerosa.ontrack.model.structurePropertyTypecontainsValue

Javadoc

Checks if the property value contains the given search token.

By default, this method uses the #getSearchKey(Object).

Popular methods of PropertyType

  • fromStorage
    Parses the storage JSON representation for a property value.
  • getDescription
    Description for this property
  • getName
    Display name for this property
  • getSearchArguments
    Gets the additional SQL criteria to add to a search.
  • getSupportedEntityTypes
    List of entity types this property applies to.
  • canEdit
    Edition policy. Can this property be directly edited by a used on the given associated entity.
  • canView
    Defines the authorization policy for viewing this property.
  • copy
    Copy/clones the value defined for the sourceEntity for being suitable in the targetEntity after appl
  • forStorage
    Gets the JSON representation of a property value
  • fromClient
    Parses the client JSON representation for a property value. This methodMUST perform validation befo
  • getEditionForm
    Form to create/update this property.
  • getFeature
  • getEditionForm,
  • getFeature,
  • getTypeName,
  • of,
  • onPropertyChanged,
  • onPropertyDeleted,
  • replaceValue

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Kernel (java.awt.image)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Github Copilot alternatives
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