ClassifiedItem

org.sigilaris.core.application.scheduling.ClassifiedItem
final case class ClassifiedItem[A](item: A, classification: SchedulingClassification)

A batch item paired with its scheduling classification.

Type parameters

A

the item type

Value parameters

classification

the scheduling classification

item

the original item

Attributes

Source
BatchPlanning.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def schedulable: Option[SchedulableItem[A]]

Extracts this item as a schedulable item if its classification is Schedulable.

Extracts this item as a schedulable item if its classification is Schedulable.

Attributes

Returns

Some(SchedulableItem) if schedulable, None if compatibility

Source
BatchPlanning.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product