Class AssignVm

All Implemented Interfaces:
Future<GetVms.VmData>, Associator, Eligible

public class AssignVm extends Event<GetVms.VmData>
Assign a VM from a pool to a user.
  • Constructor Details

    • AssignVm

      public AssignVm(String fromPool, String toUser)
      Instantiates a new event.
      Parameters:
      fromPool - the from pool
      toUser - the to user
  • Method Details

    • fromPool

      public String fromPool()
      Gets the pool to assign from.
      Returns:
      the pool
    • toUser

      public String toUser()
      Gets the user to assign to.
      Returns:
      the to user