- Type Parameters:
R
- Final return type built by this builder returned whendone()
} is called.
- All Known Implementing Classes:
GHCreateRepositoryBuilder
,GHDiscussion.Creator
,GHDiscussion.Setter
,GHDiscussion.Updater
,GHLabel.Creator
,GHLabel.Setter
,GHLabel.Updater
,GHRepository.Setter
,GHRepository.Updater
,GHRepositoryVariable.Creator
,GHRepositoryVariable.Setter
,GHRepositoryVariableBuilder
public interface GitHubRequestBuilderDone<R>
The done method for data object builder/updater.
This interface can be used to make a Builder that supports both batch and single property changes.
Batching looks like this:
update().someName(value).otherName(value).done()
Single changes look like this:
set().someName(value); set().otherName(value);
- Author:
- Liam Newman
-
Method Summary
-
Method Details
-
done
Finishes a create or update request, committing changes. This method may update-in-place or not. Either way it returns the resulting instance.- Returns:
- an instance with updated current data
- Throws:
IOException
- if there is an I/O Exception
-