public class SimpleInfoContributor extends Object implements InfoContributor
InfoContributor
that exposes a single detail.Constructor and Description |
---|
SimpleInfoContributor(String prefix,
Object detail) |
Modifier and Type | Method and Description |
---|---|
void |
contribute(Info.Builder builder)
Contributes additional details using the specified
Builder . |
public void contribute(Info.Builder builder)
InfoContributor
Builder
.contribute
in interface InfoContributor
builder
- the builder to useCopyright © 2021 Pivotal Software, Inc.. All rights reserved.