Package tech.kronicle.sdk.models
Class SoftwareRepository
- java.lang.Object
-
- tech.kronicle.sdk.models.SoftwareRepository
-
- All Implemented Interfaces:
ObjectWithScannerId
public final class SoftwareRepository extends java.lang.Object implements ObjectWithScannerId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoftwareRepository.SoftwareRepositoryBuilder
-
Constructor Summary
Constructors Constructor Description SoftwareRepository(java.lang.String scannerId, SoftwareRepositoryType type, java.lang.String url, java.lang.Boolean safe, SoftwareRepositoryScope scope)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoftwareRepository.SoftwareRepositoryBuilderbuilder()booleanequals(java.lang.Object o)java.lang.BooleangetSafe()java.lang.StringgetScannerId()SoftwareRepositoryScopegetScope()SoftwareRepositoryTypegetType()java.lang.StringgetUrl()inthashCode()SoftwareRepository.SoftwareRepositoryBuildertoBuilder()java.lang.StringtoString()SoftwareRepositorywithSafe(java.lang.Boolean safe)SoftwareRepositorywithScannerId(java.lang.String scannerId)SoftwareRepositorywithScope(SoftwareRepositoryScope scope)SoftwareRepositorywithType(SoftwareRepositoryType type)SoftwareRepositorywithUrl(java.lang.String url)
-
-
-
Constructor Detail
-
SoftwareRepository
@ConstructorProperties({"scannerId","type","url","safe","scope"}) public SoftwareRepository(java.lang.String scannerId, SoftwareRepositoryType type, java.lang.String url, java.lang.Boolean safe, SoftwareRepositoryScope scope)
-
-
Method Detail
-
builder
public static SoftwareRepository.SoftwareRepositoryBuilder builder()
-
toBuilder
public SoftwareRepository.SoftwareRepositoryBuilder toBuilder()
-
getScannerId
public java.lang.String getScannerId()
- Specified by:
getScannerIdin interfaceObjectWithScannerId
-
getType
public SoftwareRepositoryType getType()
-
getUrl
public java.lang.String getUrl()
-
getSafe
public java.lang.Boolean getSafe()
-
getScope
public SoftwareRepositoryScope getScope()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withScannerId
public SoftwareRepository withScannerId(java.lang.String scannerId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withType
public SoftwareRepository withType(SoftwareRepositoryType type)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUrl
public SoftwareRepository withUrl(java.lang.String url)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSafe
public SoftwareRepository withSafe(java.lang.Boolean safe)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScope
public SoftwareRepository withScope(SoftwareRepositoryScope scope)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-