congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
com.linecorp.centraldogma.internal.api.v1
Code IndexAdd Tabnine to your IDE (free)

How to use com.linecorp.centraldogma.internal.api.v1

Best Java code snippets using com.linecorp.centraldogma.internal.api.v1 (Showing top 20 results out of 315)

origin: com.linecorp.centraldogma/centraldogma-common

/**
 * Returns a reasonable timeout duration for a watch request.
 *
 * @param expectedTimeoutMillis timeout duration that a user wants to use, in milliseconds
 * @return timeout duration in milliseconds, between 1 and the {@link #MAX_MILLIS}.
 */
public static long makeReasonable(long expectedTimeoutMillis) {
  return makeReasonable(expectedTimeoutMillis, 0);
}
origin: com.linecorp.centraldogma/centraldogma-server-shaded

public static PushResultDto convert(Revision revision, long commitTimeMillis) {
  return new PushResultDto(revision, commitTimeMillis);
}
origin: com.linecorp.centraldogma/centraldogma-server-shaded

public static CommitDto convert(Revision revision, Author author, CommitMessageDto commitMessage,
                long commitTimeMillis) {
  return new CommitDto(revision, author, commitMessage, commitTimeMillis);
}
origin: line/centraldogma

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("name", name())
             .add("owners", owners())
             .add("members", members())
             .toString();
  }
}
origin: line/centraldogma

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("revision", revision())
             .add("author", author())
             .add("commitMessage", commitMessage())
             .add("pushedAt", pushedAt())
             .toString();
  }
}
origin: line/centraldogma

  @Override
  public String toString() {
    final ToStringHelper stringHelper = MoreObjects.toStringHelper(this)
                            .add("path", path())
                            .add("type", type());
    if (content() != null) {
      stringHelper.add("content", content());
    }

    return stringHelper.toString();
  }
}
origin: com.linecorp.centraldogma/centraldogma-server-shaded

public static WatchResultDto convert(Commit commit, @Nullable EntryDto<?> entry) {
  requireNonNull(commit, "commit");
  return new WatchResultDto(commit.revision(), commit.author(),
               new CommitMessageDto(commit.summary(), commit.detail(), commit.markup()),
               commit.when(), entry);
}
origin: line/centraldogma

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("name", name())
             .toString();
  }
}
origin: line/centraldogma

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("revision", revision())
             .add("pushedAt", pushedAt())
             .toString();
  }
}
origin: com.linecorp.centraldogma/centraldogma-common

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .omitNullValues()
             .add("revision", revision())
             .add("entry", entry())
             .toString();
  }
}
origin: line/centraldogma

public static <T> MergedEntryDto<T> convert(MergedEntry<T> mergedEntry) {
  requireNonNull(mergedEntry, "mergedEntry");
  return new MergedEntryDto<>(mergedEntry.revision(), mergedEntry.type(),
                mergedEntry.content(), mergedEntry.paths());
}
origin: com.linecorp.centraldogma/centraldogma-common

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("name", name())
             .add("owners", owners())
             .add("members", members())
             .toString();
  }
}
origin: com.linecorp.centraldogma/centraldogma-common-shaded

  @Override
  public String toString() {
    final ToStringHelper stringHelper = MoreObjects.toStringHelper(this)
                            .add("path", path())
                            .add("type", type());
    if (content() != null) {
      stringHelper.add("content", content());
    }

    return stringHelper.toString();
  }
}
origin: line/centraldogma

/**
 * Returns a reasonable timeout duration for a watch request.
 *
 * @param expectedTimeoutMillis timeout duration that a user wants to use, in milliseconds
 * @return timeout duration in milliseconds, between 1 and the {@link #MAX_MILLIS}.
 */
public static long makeReasonable(long expectedTimeoutMillis) {
  return makeReasonable(expectedTimeoutMillis, 0);
}
origin: com.linecorp.centraldogma/centraldogma-common-shaded

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("name", name())
             .toString();
  }
}
origin: com.linecorp.centraldogma/centraldogma-common

  @Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
             .add("revision", revision())
             .add("pushedAt", pushedAt())
             .toString();
  }
}
origin: com.linecorp.centraldogma/centraldogma-server

public static PushResultDto convert(Revision revision, long commitTimeMillis) {
  return new PushResultDto(revision, commitTimeMillis);
}
origin: line/centraldogma

public static CommitDto convert(Revision revision, Author author, CommitMessageDto commitMessage,
                long commitTimeMillis) {
  return new CommitDto(revision, author, commitMessage, commitTimeMillis);
}
origin: line/centraldogma

public static PushResultDto convert(Revision revision, long commitTimeMillis) {
  return new PushResultDto(revision, commitTimeMillis);
}
origin: com.linecorp.centraldogma/centraldogma-server

public static CommitDto convert(Revision revision, Author author, CommitMessageDto commitMessage,
                long commitTimeMillis) {
  return new CommitDto(revision, author, commitMessage, commitTimeMillis);
}
com.linecorp.centraldogma.internal.api.v1

Most used classes

  • ChangeDto
  • CommitDto
  • CommitMessageDto
  • CreateProjectRequest
    A request to create a new project.
  • CreateRepositoryRequest
    A request to create a new repository.
  • PushResultDto,
  • RepositoryDto,
  • WatchResultDto,
  • WatchTimeout,
  • AccessToken,
  • EntryDto,
  • MergedEntryDto
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now