Class Component

    • Method Detail

      • withUpdatedState

        public Component withUpdatedState​(java.util.function.UnaryOperator<ComponentState> action)
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface ObjectWithId
      • getAliases

        public java.util.List<Alias> getAliases()
      • getName

        public java.lang.String getName()
      • getDiscovered

        public java.lang.Boolean getDiscovered()
      • getTypeId

        public java.lang.String getTypeId()
      • getTags

        public java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> getTags()
      • getDescription

        public java.lang.String getDescription()
      • getResponsibilities

        public java.util.List<@Valid Responsibility> getResponsibilities()
      • getNotes

        public java.lang.String getNotes()
      • getLinks

        public java.util.List<@Valid Link> getLinks()
      • getTeams

        public java.util.List<@Valid ComponentTeam> getTeams()
      • getPlatformId

        public java.lang.String getPlatformId()
      • getTechDebts

        public java.util.List<@Valid TechDebt> getTechDebts()
      • getPlugins

        public java.util.Map<@NotEmpty java.lang.String,​java.lang.String> getPlugins()
      • getGitRepo

        public GitRepo getGitRepo()
      • getGradle

        public Gradle getGradle()
      • getNodeJs

        public NodeJs getNodeJs()
      • getSoftwareRepositories

        public java.util.List<@Valid SoftwareRepository> getSoftwareRepositories()
      • getSoftware

        public java.util.List<@Valid Software> getSoftware()
      • getImports

        public java.util.List<@Valid Import> getImports()
      • getKeySoftware

        public java.util.List<@Valid KeySoftware> getKeySoftware()
      • getToDos

        public java.util.List<ToDo> getToDos()
      • getReadme

        public Readme getReadme()
      • getZipkin

        public Zipkin getZipkin()
      • getOpenApiSpecs

        public java.util.List<@Valid OpenApiSpec> getOpenApiSpecs()
      • getSonarQubeProjects

        public java.util.List<@Valid SonarQubeProject> getSonarQubeProjects()
      • getScannerErrors

        public java.util.List<@Valid ScannerError> getScannerErrors()
      • getTestResults

        public java.util.List<@Valid TestResult> getTestResults()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withId

        public Component withId​(java.lang.String id)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAliases

        public Component withAliases​(java.util.List<Alias> aliases)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withName

        public Component withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDiscovered

        public Component withDiscovered​(java.lang.Boolean discovered)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTypeId

        public Component withTypeId​(java.lang.String typeId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTags

        public Component withTags​(java.util.List<@NotBlank @Pattern(regexp="[a-z][a-z0-9]*(-[a-z0-9]+)*") java.lang.String> tags)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withRepo

        public Component withRepo​(RepoReference repo)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

        public Component withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withResponsibilities

        public Component withResponsibilities​(java.util.List<@Valid Responsibility> responsibilities)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withNotes

        public Component withNotes​(java.lang.String notes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLinks

        public Component withLinks​(java.util.List<@Valid Link> links)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTeams

        public Component withTeams​(java.util.List<@Valid ComponentTeam> teams)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPlatformId

        public Component withPlatformId​(java.lang.String platformId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDependencies

        public Component withDependencies​(java.util.List<@Valid ComponentDependency> dependencies)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCrossFunctionalRequirements

        public Component withCrossFunctionalRequirements​(java.util.List<@Valid CrossFunctionalRequirement> crossFunctionalRequirements)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTechDebts

        public Component withTechDebts​(java.util.List<@Valid TechDebt> techDebts)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPlugins

        public Component withPlugins​(java.util.Map<@NotEmpty java.lang.String,​java.lang.String> plugins)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withState

        public Component withState​(ComponentState state)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withGitRepo

        public Component withGitRepo​(GitRepo gitRepo)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withGradle

        public Component withGradle​(Gradle gradle)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withNodeJs

        public Component withNodeJs​(NodeJs nodeJs)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSoftwareRepositories

        public Component withSoftwareRepositories​(java.util.List<@Valid SoftwareRepository> softwareRepositories)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSoftware

        public Component withSoftware​(java.util.List<@Valid Software> software)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withImports

        public Component withImports​(java.util.List<@Valid Import> imports)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withKeySoftware

        public Component withKeySoftware​(java.util.List<@Valid KeySoftware> keySoftware)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLinesOfCode

        public Component withLinesOfCode​(LinesOfCode linesOfCode)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withToDos

        public Component withToDos​(java.util.List<ToDo> toDos)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withReadme

        public Component withReadme​(Readme readme)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withZipkin

        public Component withZipkin​(Zipkin zipkin)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withOpenApiSpecs

        public Component withOpenApiSpecs​(java.util.List<@Valid OpenApiSpec> openApiSpecs)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSonarQubeProjects

        public Component withSonarQubeProjects​(java.util.List<@Valid SonarQubeProject> sonarQubeProjects)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withScannerErrors

        public Component withScannerErrors​(java.util.List<@Valid ScannerError> scannerErrors)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTestResults

        public Component withTestResults​(java.util.List<@Valid TestResult> testResults)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).