public class YumServer extends Object
| Constructor and Description |
|---|
YumServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMetadata()
Clean the cached metadata.
|
void |
halt()
Stop (halt/run=false) the server thread.
|
boolean |
isStarted() |
void |
removeYumConfiguration()
Remove the etc/yum.repos.d/ackbar.conf configuration file.
|
void |
start(YumContext context)
Starts the server.
|
public void start(YumContext context) throws Exception
context - The server's context.Exception - On all errors.public void halt()
public boolean isStarted()
public void cleanMetadata()
public void removeYumConfiguration()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.