Class Repo

    • Constructor Detail

      • Repo

        @ConstructorProperties({"url","description","hasComponentMetadataFile","state"})
        public Repo​(java.lang.String url,
                    java.lang.String description,
                    java.lang.Boolean hasComponentMetadataFile,
                    ComponentState state)
    • Method Detail

      • withUpdatedState

        public Repo withUpdatedState​(java.util.function.UnaryOperator<ComponentState> action)
      • getUrl

        public java.lang.String getUrl()
      • getDescription

        public java.lang.String getDescription()
      • getHasComponentMetadataFile

        public java.lang.Boolean getHasComponentMetadataFile()
      • 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
      • withUrl

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

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

        public Repo withHasComponentMetadataFile​(java.lang.Boolean hasComponentMetadataFile)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withState

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