Uses of Class
com.almworks.jira.structure.api.attribute.ValueFormat
Packages that use ValueFormat
Package
Description
This package provides Attribute API.
-
Uses of ValueFormat in com.almworks.jira.structure.api.attribute
Fields in com.almworks.jira.structure.api.attribute declared as ValueFormatModifier and TypeFieldDescriptionstatic final ValueFormat<Object>ValueFormat.ANYANY format is suitable when the requesting code can accept object of any type and there's no knowledge at development time what format of the attribute is going to be available.static final ValueFormat<Boolean>ValueFormat.BOOLEANBOOLEAN value contains simple boolean value.static final ValueFormat<Long>ValueFormat.DURATIONDURATION format contain the number of milliseconds between two points in time.static final ValueFormat<String>ValueFormat.HTMLHTML values can be shown on a web page.static final ValueFormat<String>ValueFormat.IDID is a special format for values that represent entities.static final ValueFormat<IssueType>CoreAttributeSpecs.Format.ISSUETYPEstatic final ValueFormat<List>ValueFormat.JSON_ARRAYJSON_ARRAY values are Java lists, ready to be converted to a JSON array.static final ValueFormat<Map>ValueFormat.JSON_OBJECTJSON_OBJECT values are Java maps, ready to be converted to a JSON object.static final ValueFormat<Number>ValueFormat.NUMBERNUMBER values are numeric and usually are eitherLongorDouble.static final ValueFormat<Comparable>ValueFormat.ORDERORDER values are special values that can be used to sort by this attributes.static final ValueFormat<Priority>CoreAttributeSpecs.Format.PRIORITYstatic final ValueFormat<Project>CoreAttributeSpecs.Format.PROJECTstatic final ValueFormat<Status>CoreAttributeSpecs.Format.STATUSstatic final ValueFormat<String>ValueFormat.TEXTTEXT values are plain text.static final ValueFormat<Long>ValueFormat.TIMETIME values contain Epoch time in milliseconds.static final ValueFormat<ApplicationUser>CoreAttributeSpecs.Format.USERMethods in com.almworks.jira.structure.api.attribute that return ValueFormatModifier and TypeMethodDescriptionAttributeSpec.getFormat()Returns the attribute's format.static ValueFormat<?>ValueFormat.getStandardFormat(String formatId) Returns a standard format (declared in this class) given its format ID.Methods in com.almworks.jira.structure.api.attribute with parameters of type ValueFormatModifier and TypeMethodDescription<V> AttributeSpec<V>AttributeSpec.as(ValueFormat<V> format) Returns an attribute spec with the same ID and parameters, but with the givenValueFormat.static <T> AttributeSpecBuilder<T>AttributeSpecBuilder.create(String id, ValueFormat<T> format) Creates a builder with the given attribute ID and format.static <T> AttributeSpecBuilder<T>Creates a builder with the given attribute ID, format and parameters.booleanAttributeSpec.is(ValueFormat<?> format) Checks if this attribute specification contains the given format.booleanAttributeSpec.is(String id, ValueFormat<?> format) Checks if this attribute specification is for the given ID and format.<R> AttributeSpecBuilder<R>AttributeSpecBuilder.setFormat(ValueFormat<R> format) Sets the value format.Constructors in com.almworks.jira.structure.api.attribute with parameters of type ValueFormatModifierConstructorDescriptionAttributeSpec(String id, ValueFormat<T> format) Constructs an attribute spec with the given ID and format, without parameters.AttributeSpec(String id, ValueFormat<T> format, Map<String, Object> params) Constructs an attribute spec with the given ID, format and parameters. -
Uses of ValueFormat in com.almworks.jira.structure.api.util
Methods in com.almworks.jira.structure.api.util with parameters of type ValueFormatModifier and TypeMethodDescription<T> AttributeSpec<T>SpecParams.getAttributeParameter(ValueFormat<T> expectedFormat) <T> AttributeSpec<T>SpecParams.getAttributeParameter(String name, ValueFormat<T> expectedFormat)