| | |
| | | * |
| | | * |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.server.tools.tasks; |
| | |
| | | private BooleanArgument testIfOfflineArg; |
| | | |
| | | // This CLI is always using the administration connector with SSL |
| | | private final boolean alwaysSSL = true; |
| | | private static final boolean alwaysSSL = true; |
| | | |
| | | /** |
| | | * Called when this utility should perform its actions locally in this |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public Date getStartDateTime() { |
| | | return taskScheduleArgs.getStartDateTime(); |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public String getRecurringDateTime() { |
| | | return taskScheduleArgs.getRecurringDateTime(); |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public List<String> getDependencyIds() { |
| | | return taskScheduleArgs.getDependencyIds(); |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public FailedDependencyAction getFailedDependencyAction() { |
| | | return taskScheduleArgs.getFailedDependencyAction(); |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public List<String> getNotifyUponCompletionEmailAddresses() { |
| | | return taskScheduleArgs.getNotifyUponCompletionEmailAddresses(); |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public List<String> getNotifyUponErrorEmailAddresses() { |
| | | return taskScheduleArgs.getNotifyUponErrorEmailAddresses(); |
| | | } |
| | |
| | | } |
| | | ret = 0; |
| | | } catch (LDAPConnectionException e) { |
| | | Message message = null; |
| | | Message message; |
| | | if (isWrongPortException(e, |
| | | new Integer(argParser.getArguments().getPort()))) |
| | | { |