com.atlassian.confluence.it.admin
Class SimpleSenInformation

java.lang.Object
  extended by com.atlassian.confluence.it.admin.SimpleSenInformation
All Implemented Interfaces:
SenInformation

public class SimpleSenInformation
extends Object
implements SenInformation

Simple Sen information class, constructed with a string that should be either the real sen, "MISSING" or null.


Constructor Summary
SimpleSenInformation(String senProperty)
           
 
Method Summary
 String getSen()
          Retrieves the SEN if known and present, null if not known or missing.
 boolean isMissing()
          Returns true if the license is known to have no SEN.
 boolean isUnknown()
          Returns true if SEN information about this license is known.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSenInformation

public SimpleSenInformation(String senProperty)
Method Detail

isUnknown

public boolean isUnknown()
Description copied from interface: SenInformation
Returns true if SEN information about this license is known. Returning false means the the license may or may not have a SEN, but it isn't recorded in the test-system.

Specified by:
isUnknown in interface SenInformation

isMissing

public boolean isMissing()
Description copied from interface: SenInformation
Returns true if the license is known to have no SEN.

Specified by:
isMissing in interface SenInformation

getSen

public String getSen()
Description copied from interface: SenInformation
Retrieves the SEN if known and present, null if not known or missing.

Specified by:
getSen in interface SenInformation


Copyright © 2003-2013 Atlassian. All Rights Reserved.