Method
Slot
(UUID id, Capabilities stereotype, Instant lastStarted)
Source from the content-addressed store, hash-verified
| 37 | private static final Json JSON = new Json(); |
| 38 | |
| 39 | public Slot(UUID id, Capabilities stereotype, Instant lastStarted) { |
| 40 | this.id = Require.nonNull("Slot ID", id); |
| 41 | this.stereotype = ImmutableCapabilities.copyOf(Require.nonNull("Stereotype", stereotype)); |
| 42 | this.lastStarted = Require.nonNull("Last started", lastStarted); |
| 43 | } |
| 44 | |
| 45 | public String getId() { |
| 46 | return id.toString(); |
Callers
nothing calls this directly
Tested by
no test coverage detected