Package br.org.soujava.pomeditor.api
Class Property
- java.lang.Object
-
- br.org.soujava.pomeditor.api.Property
-
public final class Property extends Object
Represents a property to be changed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Property.PropertyBuilder
Dependency builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Property.PropertyBuilder
builder()
Returns aProperty.PropertyBuilder
instanceboolean
equals(Object o)
String
getName()
String
getValue()
int
hashCode()
static Property.PropertyBuilder
of(String name, String value)
Returns aProperty.PropertyBuilder
based on the specified property name and value.String
toString()
-
-
-
Method Detail
-
builder
public static Property.PropertyBuilder builder()
Returns aProperty.PropertyBuilder
instance- Returns:
- a
Property.PropertyBuilder
-
of
public static Property.PropertyBuilder of(String name, String value)
Returns aProperty.PropertyBuilder
based on the specified property name and value.- Parameters:
name
- property namevalue
- property value, ornull
to request removal- Returns:
- a
Property.PropertyBuilder
-
getName
public String getName()
-
getValue
public String getValue()
-
-