@Service(value={java.lang.Object.class,PlatformRestorer.class}) @Property(name="javax.ws.rs", boolValue=true) public class PlatformRestorer extends Object
Constructor and Description |
---|
PlatformRestorer() |
Modifier and Type | Method and Description |
---|---|
void |
restore(InputStream backupData)
Restores the triple collection of TcManager from a backup
|
javax.ws.rs.core.Response |
restore(MultiPartBody body,
javax.ws.rs.core.UriInfo uriInfo) |
public void restore(InputStream backupData) throws IOException
backupData
- the backup dataIOException
public javax.ws.rs.core.Response restore(MultiPartBody body, @Context javax.ws.rs.core.UriInfo uriInfo) throws Throwable
Throwable
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.