Constructor and Description |
---|
ProfileDeprecations(Profile prof)
Constructs a
ProfileDeprecations with the specified underlying
Profile . |
Modifier and Type | Method and Description |
---|---|
boolean |
empty()
Indicates whether there is a deprecation notice or not.
|
void |
print(com.jcabi.ssh.Shell shell)
Prints the deprecation notice if the profile is deprecated.
|
public ProfileDeprecations(Profile prof)
ProfileDeprecations
with the specified underlying
Profile
.prof
- The underlying profilepublic void print(com.jcabi.ssh.Shell shell) throws IOException
shell
- The shell to use to print the deprecation notice if neededIOException
- if it fails while getting the XML format of the
profilepublic boolean empty() throws IOException
IOException
- if it fails while getting the XML format of the
profileCopyright © 2009–2018 Rultor Inc.. All rights reserved.