} else if (hostDescriptionType instanceof SSHHostType) {
hostType.add(HostTypes.SSH_HOST_TYPE);
SSHHostType sshHostType = (SSHHostType) hostDescriptionType;
hostDescriptor.setHpcResource(sshHostType.getHpcResource());
} else if (hostDescriptionType instanceof UnicoreHostType) {
UnicoreHostType unicoreHostType = (UnicoreHostType) hostDescriptionType;
hostType.add(HostTypes.UNICORE_HOST_TYPE);
String[] unicoreGateKeeperEndPointArray = unicoreHostType.getUnicoreBESEndPointArray();
for (int i = 0; i < unicoreGateKeeperEndPointArray.length; i++) {
gateKeeperEndPoint.add(unicoreGateKeeperEndPointArray[i]);
}
String[] gridFTPEndPointArray = unicoreHostType.getGridFTPEndPointArray();
for (int i = 0; i < gridFTPEndPointArray.length; i++) {
gridFTPEndPoint.add(gridFTPEndPointArray[i]);
}
} else if (hostDescriptionType instanceof Ec2HostType) {
hostType.add(HostTypes.EC2_HOST_TYPE);