Class RuntimeRepositoryEventUpdateStarted
java.lang.Object
com.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateStarted
- All Implemented Interfaces:
RuntimeRepositoryEventType,RuntimeRepositoryEventUpdateStartedType,RuntimeRepositoryEventUpdateType
public final class RuntimeRepositoryEventUpdateStarted extends java.lang.Object implements RuntimeRepositoryEventUpdateStartedType
A repository update started.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuntimeRepositoryEventUpdateStarted.BuilderBuilds instances of typeRuntimeRepositoryEventUpdateStarted.Nested classes/interfaces inherited from interface com.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateType
RuntimeRepositoryEventUpdateType.Kind -
Method Summary
Modifier and Type Method Description static RuntimeRepositoryEventUpdateStarted.Builderbuilder()Creates a builder forRuntimeRepositoryEventUpdateStarted.static RuntimeRepositoryEventUpdateStartedcopyOf(RuntimeRepositoryEventUpdateStartedType instance)Creates an immutable copy of aRuntimeRepositoryEventUpdateStartedTypevalue.booleanequals(java.lang.Object another)This instance is equal to all instances ofRuntimeRepositoryEventUpdateStartedthat have equal attribute values.inthashCode()Computes a hash code from attributes:repository.java.net.URIrepository()java.lang.StringtoString()Prints the immutable valueRuntimeRepositoryEventUpdateStartedwith attribute values.RuntimeRepositoryEventUpdateStartedwithRepository(java.net.URI value)Copy the current immutable object by setting a value for therepositoryattribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateStartedType
kind
-
Method Details
-
repository
public java.net.URI repository()- Specified by:
repositoryin interfaceRuntimeRepositoryEventType- Specified by:
repositoryin interfaceRuntimeRepositoryEventUpdateStartedType- Specified by:
repositoryin interfaceRuntimeRepositoryEventUpdateType- Returns:
- The value of the
repositoryattribute
-
withRepository
Copy the current immutable object by setting a value for therepositoryattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for repository- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(java.lang.Object another)This instance is equal to all instances ofRuntimeRepositoryEventUpdateStartedthat have equal attribute values.- Overrides:
equalsin classjava.lang.Object- Returns:
trueifthisis equal toanotherinstance
-
hashCode
public int hashCode()Computes a hash code from attributes:repository.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hashCode value
-
toString
public java.lang.String toString()Prints the immutable valueRuntimeRepositoryEventUpdateStartedwith attribute values.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
copyOf
public static RuntimeRepositoryEventUpdateStarted copyOf(RuntimeRepositoryEventUpdateStartedType instance)Creates an immutable copy of aRuntimeRepositoryEventUpdateStartedTypevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable RuntimeRepositoryEventUpdateStarted instance
-
builder
Creates a builder forRuntimeRepositoryEventUpdateStarted.RuntimeRepositoryEventUpdateStarted.builder() .setRepository(java.net.URI) // requiredrepository.build();- Returns:
- A new RuntimeRepositoryEventUpdateStarted builder
-