Interface Maintenance
public interface Maintenance
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull Maintenance.Builderbuilder()@Nullable LocalDateTime@Nullable Integer@NotNull LocalDateTimeint@NotNull LocalDateTimeendAt()intid()default booleandefault booleanstatic @NotNull Maintenanceof(int id, @Nullable String title, @Nullable String reason, @NotNull MaintenanceType status, @NotNull LocalDateTime startAt, @NotNull LocalDateTime endAt, @NotNull LocalDateTime createdAt, int createdBy) @Nullable Stringreason()@NotNull LocalDateTimestartAt()@NotNull MaintenanceTypestatus()@Nullable Stringtitle()@NotNull Maintenancewith(@NotNull Consumer<Maintenance.Builder> consumer)
-
Method Details
-
id
int id() -
title
-
reason
-
status
-
startAt
-
endAt
-
createdAt
-
createdBy
int createdBy() -
changedAt
-
changedBy
-
builder
-
with
-
isExpired
default boolean isExpired() -
isStarted
default boolean isStarted() -
of
@NotNull static @NotNull Maintenance of(int id, @Nullable @Nullable String title, @Nullable @Nullable String reason, @NotNull @NotNull MaintenanceType status, @NotNull @NotNull LocalDateTime startAt, @NotNull @NotNull LocalDateTime endAt, @NotNull @NotNull LocalDateTime createdAt, int createdBy)
-