public abstract class AbstractResource.Builder<T extends AbstractResource,U extends AbstractResource.Builder<T,U>> extends Object
Similarly setters in the class are private so those objects are also typically effectively immutable.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractResource.Builder(String type) |
| Modifier and Type | Method and Description |
|---|---|
T |
build() |
protected void |
check() |
U |
created(Date x) |
U |
customAttribute(String key,
Object value) |
U |
description(String x) |
U |
id(String x) |
protected void |
initialize() |
U |
name(String x) |
U |
representationSkew(RepresentationSkew x) |
U |
sourceCode(String x) |
U |
tags(List<String> x) |
protected U |
thisBuilder() |
U |
type(String x) |
protected AbstractResource.Builder(String type)
protected final void check()
protected void initialize()
public T build()
protected U thisBuilder()
public U representationSkew(RepresentationSkew x)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.