Class Component

    • Method Detail

      • getStates

        public <T extends ComponentState> java.util.List<T> getStates​(java.lang.String type)
      • getState

        public <T extends ComponentState> T getState​(java.lang.String type)
      • 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<@Valid Tag> 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()
      • getDocs

        public java.util.List<@Valid Doc> getDocs()
      • getOpenApiSpecs

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

        public java.util.List<@Valid GraphQlSchema> getGraphQlSchemas()
      • getStates

        public java.util.List<@Valid ComponentState> getStates()
      • 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<@Valid Tag> 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).
      • withDocs

        public Component withDocs​(java.util.List<@Valid Doc> docs)
        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).
      • withGraphQlSchemas

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

        public Component withStates​(java.util.List<@Valid ComponentState> states)
        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).