@Test public void commitWithMessage_theResultCommitShouldHaveTheSpecifiedMessage() throws IOException { writeSomethingToGfs(); Result result = Gfs.commit(gfs).message("test_message").execute(); assertEquals("test_message", result.getCommit().getFullMessage()); }
@Nonnull public GfsCommit message(@Nullable String message) { this.message = message; return this; }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit message(@Nullable String message) { this.message = message; return this; } }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit message(@Nullable String message) { this.message = message; return this; } GfsCommit(GitFileSystem gfs); }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit message(@Nullable String message) { this.message = message; return this; } GfsCommit(GitFileSystem gfs); @Nonnull GfsCommit author(@Nullable PersonIdent author); @Nonnull GfsCommit committer(@Nullable PersonIdent committer); @Nonnull GfsCommit message(@Nullable String message); @Nonnull GfsCommit amend(boolean amend); @Nonnull GfsCommit allowEmpty(boolean allowEmpty); }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit message(@Nullable String message) { this.message = message; return this; } GfsCommit(GitFileSystem gfs); @Nonnull GfsCommit author(@Nullable PersonIdent author); @Nonnull GfsCommit committer(@Nullable PersonIdent committer); @Nonnull GfsCommit message(@Nullable String message); @Nonnull GfsCommit amend(boolean amend); @Nonnull GfsCommit allowEmpty(boolean allowEmpty);  }