Class ProjectImpl

java.lang.Object
cdc.issues.impl.ProjectImpl
All Implemented Interfaces:
LabelsItem, MetasItem, Project

@Deprecated(since="2025-03-27", forRemoval=true) public class ProjectImpl extends Object implements Project
Deprecated, for removal: This API element is subject to removal in a future version.
Default implementation of Project.
Author:
Damien Carbonne
  • Constructor Details

    • ProjectImpl

      public ProjectImpl(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setName

      public ProjectImpl setName(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDescription

      public ProjectImpl setDescription(String description)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMetas

      public ProjectImpl setMetas(Metas metas)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLabels

      public ProjectImpl setLabels(Labels labels)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setProfile

      public ProjectImpl setProfile(Profile profile)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addSnapshot

      void addSnapshot(SnapshotImpl snapshot)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSnapshot

      public SnapshotImpl createSnapshot()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addAnswer

      public ProjectImpl addAnswer(IssueAnswerImpl answer)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addAnswers

      public ProjectImpl addAnswers(Collection<IssueAnswerImpl> answers)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addDataSource

      public ProjectImpl addDataSource(DataSource<?> dataSource)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getName in interface Project
    • getDescription

      public String getDescription()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDescription in interface Project
    • getMetas

      public Metas getMetas()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getMetas in interface MetasItem
    • getLabels

      public Labels getLabels()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getLabels in interface LabelsItem
    • getProfile

      public Optional<Profile> getProfile()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getProfile in interface Project
    • getDataSources

      public Iterable<DataSource<?>> getDataSources()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDataSources in interface Project
    • getSnapshots

      public List<SnapshotImpl> getSnapshots()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSnapshots in interface Project
    • getAnswers

      public Set<IssueAnswerImpl> getAnswers()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAnswers in interface Project
    • getAnswer

      public Optional<IssueAnswer> getAnswer(IssueId id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getAnswer in interface Project