public class Threshold extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Threshold.Builder
Builder to make threshold construction easier.
|
Constructor and Description |
---|
Threshold()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static Threshold.Builder |
builder()
Returns a builder for the threshold.
|
long |
getRed()
Returns the red threshold of the presentation.
|
long |
getYellow()
Returns the yellow threshold of the presentation.
|
void |
setRed(long red)
Sets the red threshold of the presentation.
|
void |
setYellow(long yellow)
Sets the yellow threshold of the presentation.
|
String |
toString()
Returns a string representation of the object.
|
public void setRed(long red)
red
- The red threshold of the presentationpublic long getRed()
public void setYellow(long yellow)
yellow
- The yellow threshold of the presentationpublic long getYellow()
public String toString()
public static Threshold.Builder builder()
Copyright © 2018. All rights reserved.