Record Class StatusRowRecord
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart.dto.StatusRowRecord
- All Implemented Interfaces:
Serializable
public record StatusRowRecord(org.apache.wicket.model.IModel<String> text, ActivityProgressInformation.RealizationState realizationState, StatusInfo<?> statusInfo)
extends Record
implements Serializable
Simple inner DTO for rendering one statusInfo line.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStatusRowRecord(org.apache.wicket.model.IModel<String> text, ActivityProgressInformation.RealizationState realizationState, StatusInfo<?> statusInfo) Creates an instance of aStatusRowRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull StringStatusInfo<?>final inthashCode()Returns a hash code value for this object.booleanbooleanisFailed()Returns the value of therealizationStaterecord component.StatusInfo<?>Returns the value of thestatusInforecord component.org.apache.wicket.model.IModel<String>text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StatusRowRecord
public StatusRowRecord(org.apache.wicket.model.IModel<String> text, ActivityProgressInformation.RealizationState realizationState, StatusInfo<?> statusInfo) Creates an instance of aStatusRowRecordrecord class.- Parameters:
text- the value for thetextrecord componentrealizationState- the value for therealizationStaterecord componentstatusInfo- the value for thestatusInforecord component
-
-
Method Details
-
getStatusInfo
-
isFailed
public boolean isFailed() -
isExecuting
public boolean isExecuting() -
getIconCss
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
realizationState
Returns the value of therealizationStaterecord component.- Returns:
- the value of the
realizationStaterecord component
-
statusInfo
Returns the value of thestatusInforecord component.- Returns:
- the value of the
statusInforecord component
-