VmSimple extends CustomerEntityAbstract implements Vm { @Override public boolean isCreated() { return created; } VmSimple(final double mipsCapacity, final long numberOfPes);  VmSimple(final double mipsCapacity, final long numberOfPes, final CloudletScheduler cloudletScheduler);  VmSimple(final long id, final double mipsCapacity, final long numberOfPes);  VmSimple(final long id, final long mipsCapacity, final long numberOfPes);  VmSimple(final Vm sourceVm); @Override double updateProcessing(List<Double> mipsShare); @Override double updateProcessing(final double currentTime, final List<Double> mipsShare); @Override long getFreePesNumber(); Vm setFreePesNumber(long freePesNumber); @Override long getExpectedFreePesNumber(); Vm addExpectedFreePesNumber(final long pesToAdd); Vm removeExpectedFreePesNumber(final long pesToRemove); @Override double getCpuPercentUtilization(); @Override double getCpuPercentUtilization(final double time); @Override double getHostCpuUtilization(final double time); @Override double getExpectedHostCpuUtilization(final double vmCpuUtilizationPercent); @Override double getHostRamUtilization(); @Override double getHostBwUtilization(); @Override double getTotalCpuMipsUtilization(); @Override double getTotalCpuMipsUtilization(final double time); @Override double getCurrentRequestedMaxMips(); @Override double getCurrentRequestedTotalMips(); @Override List<Double> getCurrentRequestedMips(); @Override long getCurrentRequestedBw(); @Override double getTotalMipsCapacity(); @Override long getCurrentRequestedRam(); @Override double getStartTime(); @Override Vm setStartTime(final double startTime); @Override double getStopTime(); @Override Vm setStopTime(final double stopTime); @Override double getLastBusyTime(); boolean hasStartedSomeCloudlet(); @Override double getTotalExecutionTime(); @Override double getMips(); @Override long getNumberOfPes(); @Override Processor getProcessor(); @Override Resource getRam(); @Override final Vm setRam(final long ramCapacity); @Override Resource getBw(); @Override final Vm setBw(final long bwCapacity); @Override Resource getStorage(); @Override final Vm setSize(final long size); @Override String getVmm(); @Override final void setHost(final Host host); @Override Host getHost(); @Override CloudletScheduler getCloudletScheduler(); @Override final Vm setCloudletScheduler(final CloudletScheduler cloudletScheduler); @Override boolean isInMigration(); @Override final void setInMigration(final boolean migrating); void updateMigrationStartListeners(final Host targetHost); void updateMigrationFinishListeners(final Host targetHost); @Override boolean isCreated(); @Override boolean isSuitableForCloudlet(final Cloudlet cloudlet); @Override void setCreated(final boolean created); @Override List<VmStateHistoryEntry> getStateHistory(); @Override void addStateHistoryEntry(final VmStateHistoryEntry entry); @Override void allocateResource(final Class<? extends ResourceManageable> resourceClass, final long newTotalResourceAmount); @Override void deallocateResource(final Class<? extends ResourceManageable> resourceClass); @Override List<ResourceManageable> getResources(); @Override Vm addOnHostAllocationListener(final EventListener<VmHostEventInfo> listener); @Override Vm addOnMigrationStartListener(final EventListener<VmHostEventInfo> listener); @Override Vm addOnMigrationFinishListener(final EventListener<VmHostEventInfo> listener); @Override Vm addOnHostDeallocationListener(final EventListener<VmHostEventInfo> listener); @Override Vm addOnCreationFailureListener(final EventListener<VmDatacenterEventInfo> listener); @Override Vm addOnUpdateProcessingListener(final EventListener<VmHostEventInfo> listener); @Override boolean removeOnCreationFailureListener(final EventListener<VmDatacenterEventInfo> listener); @Override boolean removeOnUpdateProcessingListener(final EventListener<VmHostEventInfo> listener); @Override boolean removeOnHostAllocationListener(final EventListener<VmHostEventInfo> listener); @Override boolean removeOnHostDeallocationListener(final EventListener<VmHostEventInfo> listener); @Override String toString(); @Override int compareTo(final Vm o); @Override boolean equals(final Object o); @Override void setFailed(final boolean failed); void setCloudletsToFailed(); @Override boolean isFailed(); @Override boolean isWorking(); @Override double getSubmissionDelay(); @Override final void setSubmissionDelay(final double submissionDelay); @Override void notifyOnHostAllocationListeners(); @Override void notifyOnHostDeallocationListeners(final Host deallocatedHost); void notifyOnUpdateProcessingListeners(); @Override void notifyOnCreationFailureListeners(final Datacenter failedDatacenter); @Override boolean removeOnMigrationStartListener(final EventListener<VmHostEventInfo> listener); @Override boolean removeOnMigrationFinishListener(final EventListener<VmHostEventInfo> listener); @Override HorizontalVmScaling getHorizontalScaling(); @Override final Vm setHorizontalScaling(final HorizontalVmScaling horizontalScaling); @Override final Vm setRamVerticalScaling(final VerticalVmScaling ramVerticalScaling); @Override final Vm setBwVerticalScaling(final VerticalVmScaling bwVerticalScaling); @Override final Vm setPeVerticalScaling(final VerticalVmScaling peVerticalScaling); @Override VerticalVmScaling getRamVerticalScaling(); @Override VerticalVmScaling getBwVerticalScaling(); @Override VerticalVmScaling getPeVerticalScaling(); @Override String getDescription(); @Override Vm setDescription(final String description); @Override VmGroup getGroup(); void setGroup(final VmGroup group); @Override UtilizationHistory getUtilizationHistory(); static long getDefaultRamCapacity(); static void setDefaultRamCapacity(final long defaultCapacity); static long getDefaultBwCapacity(); static void setDefaultBwCapacity(final long defaultCapacity); static long getDefaultStorageCapacity(); static void setDefaultStorageCapacity(final long defaultCapacity); @Override double getTimeZone(); @Override Vm setTimeZone(final double timeZone);  }
@Test public void testIsCreated() { vm.setCreated(true); assertTrue(vm.isCreated()); }