Class UpdateAssignment

java.lang.Object
org.jgrapes.core.internal.EventBase<Boolean>
org.jgrapes.core.Event<Boolean>
org.jdrupes.vmoperator.manager.events.UpdateAssignment
All Implemented Interfaces:
Future<Boolean>, Associator, Eligible

public class UpdateAssignment extends Event<Boolean>
Note the assignment to a user in the VM status.
  • Constructor Details

    • UpdateAssignment

      public UpdateAssignment(VmPool fromPool, String toUser)
      Instantiates a new event.
      Parameters:
      fromPool - the pool from which the VM was assigned
      toUser - the to user
  • Method Details

    • fromPool

      public VmPool fromPool()
      Gets the pool from which the VM was assigned.
      Returns:
      the pool
    • toUser

      public String toUser()
      Gets the user to whom the VM was assigned.
      Returns:
      the to user