| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.tools; |
| | | import org.opends.messages.Message; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Class getTaskClass() { |
| | | public Class<?> getTaskClass() { |
| | | return RestoreTask.class; |
| | | } |
| | | |
| | |
| | | |
| | | try |
| | | { |
| | | ErrorLogPublisher errorLogPublisher = |
| | | TextErrorLogPublisher.getStartupTextErrorPublisher( |
| | | ErrorLogPublisher<?> errorLogPublisher = |
| | | TextErrorLogPublisher.getToolStartupTextErrorPublisher( |
| | | new TextWriter.STREAM(out)); |
| | | DebugLogPublisher debugLogPublisher = |
| | | DebugLogPublisher<?> debugLogPublisher = |
| | | TextDebugLogPublisher.getStartupTextDebugPublisher( |
| | | new TextWriter.STREAM(out)); |
| | | ErrorLogger.addErrorLogPublisher(errorLogPublisher); |