Class DefaultFactor

  • All Implemented Interfaces:
    Factor, com.okta.sdk.resource.ExtensibleResource, com.okta.sdk.resource.PropertyRetriever, com.okta.sdk.resource.Resource, java.util.Map<java.lang.String,​java.lang.Object>

    public class DefaultFactor
    extends com.okta.sdk.impl.resource.AbstractResource
    implements Factor
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class com.okta.sdk.impl.resource.AbstractResource

        properties
      • Fields inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever

        readLock, writeLock
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultFactor​(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,​java.lang.Object> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FactorActivation getActivation()  
      <T extends FactorActivation>
      T
      getActivation​(java.lang.Class<T> activationClass)  
      java.util.Map<java.lang.String,​java.lang.Object> getEmbedded()  
      java.lang.String getId()  
      java.util.Map<java.lang.String,​Link> getLinks()  
      java.util.Map<java.lang.String,​java.lang.Object> getProfile()  
      java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()  
      FactorProvider getProvider()  
      java.lang.String getStatus()  
      FactorType getType()  
      java.lang.String getVendorName()  
      • Methods inherited from class com.okta.sdk.impl.resource.AbstractResource

        clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
      • Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever

        getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from interface com.okta.sdk.resource.PropertyRetriever

        getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
      • Methods inherited from interface com.okta.sdk.resource.Resource

        getResourceHref, setResourceHref
    • Constructor Detail

      • DefaultFactor

        public DefaultFactor​(com.okta.sdk.impl.ds.InternalDataStore dataStore,
                             java.util.Map<java.lang.String,​java.lang.Object> properties)
    • Method Detail

      • getPropertyDescriptors

        public java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
        Specified by:
        getPropertyDescriptors in class com.okta.sdk.impl.resource.AbstractResource
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface Factor
      • getStatus

        public java.lang.String getStatus()
        Specified by:
        getStatus in interface Factor
      • getVendorName

        public java.lang.String getVendorName()
        Specified by:
        getVendorName in interface Factor
      • getProfile

        public java.util.Map<java.lang.String,​java.lang.Object> getProfile()
        Specified by:
        getProfile in interface Factor
      • getLinks

        public java.util.Map<java.lang.String,​Link> getLinks()
        Specified by:
        getLinks in interface Factor
      • getEmbedded

        public java.util.Map<java.lang.String,​java.lang.Object> getEmbedded()
        Specified by:
        getEmbedded in interface Factor