com.evernote.edam.userstore
Class BootstrapInfo

java.lang.Object
  extended by com.evernote.edam.userstore.BootstrapInfo
All Implemented Interfaces:
com.evernote.thrift.TBase<BootstrapInfo>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BootstrapInfo>

public class BootstrapInfo
extends java.lang.Object
implements com.evernote.thrift.TBase<BootstrapInfo>, java.io.Serializable, java.lang.Cloneable

This structure describes a collection of bootstrap profiles.

profiles:
List of one or more bootstrap profiles, in descending preference order.

See Also:
Serialized Form

Constructor Summary
BootstrapInfo()
           
BootstrapInfo(BootstrapInfo other)
          Performs a deep copy on other.
BootstrapInfo(java.util.List<BootstrapProfile> profiles)
           
 
Method Summary
 void addToProfiles(BootstrapProfile elem)
           
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(BootstrapInfo other)
           
 BootstrapInfo deepCopy()
          Creates a deep copy of the object.
 boolean equals(BootstrapInfo that)
           
 boolean equals(java.lang.Object that)
           
 java.util.List<BootstrapProfile> getProfiles()
           
 java.util.Iterator<BootstrapProfile> getProfilesIterator()
           
 int getProfilesSize()
           
 int hashCode()
           
 boolean isSetProfiles()
          Returns true if field profiles is set (has been asigned a value) and false otherwise
 void read(com.evernote.thrift.protocol.TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setProfiles(java.util.List<BootstrapProfile> profiles)
           
 void setProfilesIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetProfiles()
           
 void validate()
           
 void write(com.evernote.thrift.protocol.TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapInfo

public BootstrapInfo()

BootstrapInfo

public BootstrapInfo(java.util.List<BootstrapProfile> profiles)

BootstrapInfo

public BootstrapInfo(BootstrapInfo other)
Performs a deep copy on other.

Method Detail

deepCopy

public BootstrapInfo deepCopy()
Description copied from interface: com.evernote.thrift.TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface com.evernote.thrift.TBase<BootstrapInfo>

clear

public void clear()
Description copied from interface: com.evernote.thrift.TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface com.evernote.thrift.TBase<BootstrapInfo>

getProfilesSize

public int getProfilesSize()

getProfilesIterator

public java.util.Iterator<BootstrapProfile> getProfilesIterator()

addToProfiles

public void addToProfiles(BootstrapProfile elem)

getProfiles

public java.util.List<BootstrapProfile> getProfiles()

setProfiles

public void setProfiles(java.util.List<BootstrapProfile> profiles)

unsetProfiles

public void unsetProfiles()

isSetProfiles

public boolean isSetProfiles()
Returns true if field profiles is set (has been asigned a value) and false otherwise


setProfilesIsSet

public void setProfilesIsSet(boolean value)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(BootstrapInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(BootstrapInfo other)
Specified by:
compareTo in interface java.lang.Comparable<BootstrapInfo>

read

public void read(com.evernote.thrift.protocol.TProtocol iprot)
          throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface com.evernote.thrift.TBase<BootstrapInfo>
Parameters:
iprot - Input protocol
Throws:
com.evernote.thrift.TException

write

public void write(com.evernote.thrift.protocol.TProtocol oprot)
           throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Writes the object to the given protocol.

Specified by:
write in interface com.evernote.thrift.TBase<BootstrapInfo>
Parameters:
oprot - Output protocol
Throws:
com.evernote.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws com.evernote.thrift.TException
Throws:
com.evernote.thrift.TException