Package net.kyori.examination
Class ExaminableProperty
java.lang.Object
net.kyori.examination.ExaminableProperty
public abstract class ExaminableProperty extends Object
An examinable property.
- Since:
- 1.0.0
-
Method Summary
Modifier and Type Method Description abstract <R> @NonNull Rexamine(@NonNull Examiner<? extends R> examiner)Gets the value.abstract @NonNull Stringname()Gets the name.static @NonNull ExaminablePropertyof(@NonNull String name, boolean value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, boolean[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, byte value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, byte[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, char value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, char[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, double value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, double[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, float value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, float[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, int value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, int[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, long value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, long[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, short value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, short[] value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, @Nullable Object value)Creates a property.static @NonNull ExaminablePropertyof(@NonNull String name, @Nullable String value)Creates a property.StringtoString()
-
Method Details
-
name
Gets the name.- Returns:
- the name
- Since:
- 1.0.0
-
examine
Gets the value.- Type Parameters:
R- the result type- Parameters:
examiner- the examiner- Returns:
- the value
- Since:
- 1.0.0
-
toString
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-
of
Creates a property.- Parameters:
name- the namevalue- the value- Returns:
- the property
- Since:
- 1.0.0
-