[477] | 1 | package schedframe.scheduling.plan; |
---|
| 2 | |
---|
| 3 | import java.util.Map; |
---|
| 4 | |
---|
| 5 | import schedframe.DescriptionContainer; |
---|
| 6 | import schedframe.resources.units.ResourceUnit; |
---|
| 7 | import schedframe.resources.units.ResourceUnitName; |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | public interface AllocationInterface<T> extends DescriptionContainer<T> { |
---|
| 11 | |
---|
| 12 | /** |
---|
| 13 | */ |
---|
| 14 | public void deleteProcessQuantity(); |
---|
| 15 | |
---|
| 16 | /** |
---|
| 17 | * Returns the value of field 'additionalProperties'. |
---|
| 18 | * |
---|
| 19 | * @return the value of field 'AdditionalProperties'. |
---|
| 20 | */ |
---|
| 21 | public <Properties> PropertiesTypeInterface<Properties> getAdditionalProperties(); |
---|
| 22 | |
---|
| 23 | /** |
---|
| 24 | * Returns the value of field 'host'. The field 'host' has the |
---|
| 25 | * following description: Submission host |
---|
| 26 | * |
---|
| 27 | * @return the value of field 'Host'. |
---|
| 28 | */ |
---|
| 29 | public HostInterface getHost(); |
---|
| 30 | |
---|
| 31 | /** |
---|
| 32 | * Returns the value of field 'processGroupId'. |
---|
| 33 | * |
---|
| 34 | * @return the value of field 'ProcessGroupId'. |
---|
| 35 | */ |
---|
| 36 | public java.lang.String getProcessGroupId(); |
---|
| 37 | |
---|
| 38 | /** |
---|
| 39 | * Returns the value of field 'processQuantity'. |
---|
| 40 | * |
---|
| 41 | * @return the value of field 'ProcessQuantity'. |
---|
| 42 | */ |
---|
| 43 | public int getProcessesCount(); |
---|
| 44 | |
---|
| 45 | public <ProcessesMap_>ProcessesMapInterface<ProcessesMap_> getProcessesMap(); |
---|
| 46 | |
---|
| 47 | /** |
---|
| 48 | * Returns the value of field 'providerInfo'. |
---|
| 49 | * |
---|
| 50 | * @return the value of field 'ProviderInfo'. |
---|
| 51 | */ |
---|
| 52 | public <ProviderInfo>ProviderInfoInterface<ProviderInfo> getProviderInfo(); |
---|
| 53 | |
---|
| 54 | /** |
---|
| 55 | * Returns the value of field 'reservationId'. The field |
---|
| 56 | * 'reservationId' has the following description: Reservation |
---|
| 57 | * identifier in local system |
---|
| 58 | * |
---|
| 59 | * @return the value of field 'ReservationId'. |
---|
| 60 | */ |
---|
| 61 | public java.lang.String getReservationId(); |
---|
| 62 | |
---|
| 63 | /** |
---|
| 64 | * Method hasProcessQuantity. |
---|
| 65 | * |
---|
| 66 | * @return true if at least one ProcessQuantity has been added |
---|
| 67 | */ |
---|
| 68 | public boolean hasProcessesCount(); |
---|
| 69 | |
---|
| 70 | public boolean hasProcessesMap(); |
---|
| 71 | |
---|
| 72 | /** |
---|
| 73 | * Sets the value of field 'additionalProperties'. |
---|
| 74 | * |
---|
| 75 | * @param additionalProperties the value of field |
---|
| 76 | * 'additionalProperties'. |
---|
| 77 | */ |
---|
| 78 | public <Properties> void setAdditionalProperties( |
---|
| 79 | final PropertiesTypeInterface<Properties> additionalProperties); |
---|
| 80 | |
---|
| 81 | /** |
---|
| 82 | * Sets the value of field 'host'. The field 'host' has the |
---|
| 83 | * following description: Submission host |
---|
| 84 | * |
---|
| 85 | * @param host the value of field 'host'. |
---|
| 86 | */ |
---|
| 87 | public <Host> void setHost(final HostInterface<Host> host); |
---|
| 88 | |
---|
| 89 | /** |
---|
| 90 | * Sets the value of field 'processGroupID'. |
---|
| 91 | * |
---|
| 92 | * @param processGroupId the value of field 'processGroupId'. |
---|
| 93 | */ |
---|
| 94 | public void setProcessGroupId(final java.lang.String processGroupId); |
---|
| 95 | |
---|
| 96 | /** |
---|
| 97 | * Sets the value of field 'processQuantity'. |
---|
| 98 | * |
---|
| 99 | * @param processQuantity the value of field 'processQuantity'. |
---|
| 100 | */ |
---|
| 101 | public void setProcessesCount(final int processesCount); |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | public <ProcessesMap_> void setProcessesMap(ProcessesMapInterface<ProcessesMap_> processesMap); |
---|
| 105 | |
---|
| 106 | /** |
---|
| 107 | * Sets the value of field 'providerInfo'. |
---|
| 108 | * |
---|
| 109 | * @param providerInfo the value of field 'providerInfo'. |
---|
| 110 | */ |
---|
| 111 | public <ProviderInfo> void setProviderInfo(ProviderInfoInterface<ProviderInfo> providerInfo); |
---|
| 112 | |
---|
[555] | 113 | public void setRequestedResources(Map<ResourceUnitName, ResourceUnit> choosenResources); |
---|
[477] | 114 | |
---|
| 115 | public Map<ResourceUnitName, ResourceUnit> getRequestedResources(); |
---|
| 116 | |
---|
| 117 | public void setProviderName(String providerName); |
---|
| 118 | |
---|
| 119 | public String getProviderName(); |
---|
| 120 | |
---|
[555] | 121 | //public boolean isProcessing(); |
---|
[477] | 122 | } |
---|