public abstract static class SimpleRefChange.AbstractBuilder<B extends SimpleRefChange.AbstractBuilder<B>> extends SimpleMinimalRefChange.AbstractMinimalRefChangeBuilder<B,RefChange>
Modifier | Constructor and Description |
---|---|
protected |
AbstractBuilder() |
|
AbstractBuilder(RefChange change) |
Modifier and Type | Method and Description |
---|---|
B |
from(Ref value) |
B |
fromHash(String value) |
B |
ref(MinimalRef value) |
protected abstract B |
self() |
B |
to(Ref value) |
B |
toHash(String value) |
B |
type(RefChangeType value) |
protected void |
validate()
Deprecated.
in 7.11 for removal in 8.0. Validation has been moved to the constructor of
SimpleRefChange . |
build
@Nonnull public B ref(@Nonnull MinimalRef value)
ref
in class SimpleMinimalRefChange.AbstractMinimalRefChangeBuilder<B extends SimpleRefChange.AbstractBuilder<B>,RefChange>
@Nonnull public B type(@Nonnull RefChangeType value)
type
in class SimpleMinimalRefChange.AbstractMinimalRefChangeBuilder<B extends SimpleRefChange.AbstractBuilder<B>,RefChange>
@Deprecated protected void validate()
SimpleRefChange
.protected abstract B self()
self
in class SimpleMinimalRefChange.AbstractMinimalRefChangeBuilder<B extends SimpleRefChange.AbstractBuilder<B>,RefChange>
Copyright © 2022 Atlassian. All rights reserved.