public final class Advice extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Advice.AdviceAttribute
Immutable class representing the content of an advice.
|
| Constructor and Description |
|---|
Advice(String source,
List<Advice.AdviceAttribute> attributes)
Creates an advice
|
public Advice(String source, List<Advice.AdviceAttribute> attributes)
source - URI representing the source of the advice. Cannot be
nullattributes - Attributes containing the advice. Should contain at least one
entry.public String getSource()
nullpublic List<Advice.AdviceAttribute> getAttributes()
nullCopyright © 2016. All rights reserved.