# Uses of Interface
org.eclipse.osgi.service.resolver.State

Packages that use State
Package
Description
org.eclipse.osgi.service.resolver
Provides the Equinox resolver API.

## Uses of State in org.eclipse.osgi.service.resolver

Methods in org.eclipse.osgi.service.resolver that return State
Modifier and Type
Method
Description
`State`
StateObjectFactory.`createState()`
Deprecated.
use `StateObjectFactory.createState(boolean)`
`State`
StateObjectFactory.`createState(boolean resolver)`
Creates an empty state with or without a resolver.
`State`
StateObjectFactory.`createState(State state)`
Creates a new state that is a copy of the given state.
`State`
StateObjectFactory.StateObjectFactoryProxy.`createState()`
Deprecated.
`State`
StateObjectFactory.StateObjectFactoryProxy.`createState(boolean resolver)`
`State`
StateObjectFactory.StateObjectFactoryProxy.`createState(State state)`
`State`
BundleDescription.`getContainingState()`
Returns the state object which hosts this bundle. null is returned if this bundle is not currently in a state.
`State`
PlatformAdmin.`getState()`
Returns a mutable state representing the current system.
`State`
PlatformAdmin.`getState(boolean mutable)`
Returns a state representing the current system.
`State`
Resolver.`getState()`
Returns the state associated with this resolver.
`State`
StateDelta.`getState()`
Returns the state whose changes are represented by this delta.
`State`
StateObjectFactory.`readState(DataInputStream stream)`
Deprecated.
use `StateObjectFactory.readState(File)` instead
`State`
StateObjectFactory.`readState(File stateDirectory)`
Reads a persisted state from the given directory.
`State`
StateObjectFactory.`readState(InputStream stream)`
Deprecated.
use `StateObjectFactory.readState(File)` instead
`State`
StateObjectFactory.StateObjectFactoryProxy.`readState(DataInputStream stream)`
Deprecated.
`State`
StateObjectFactory.StateObjectFactoryProxy.`readState(File stateDirectory)`
`State`
StateObjectFactory.StateObjectFactoryProxy.`readState(InputStream stream)`
Deprecated.
Methods in org.eclipse.osgi.service.resolver with parameters of type State
Modifier and Type
Method
Description
`void`
PlatformAdmin.`commit(State state)`
Commit the differences between the current state and the given state.
`StateDelta`
State.`compare(State baseState)`
Returns a delta describing the differences between this state and the given state.
`BundleDescription`
StateObjectFactory.`createBundleDescription(State state, Dictionary<String,String> manifest, String location, long id)`
Returns a bundle description based on the information in the supplied manifest dictionary.
`BundleDescription`
StateObjectFactory.StateObjectFactoryProxy.`createBundleDescription(State state, Dictionary<String,String> manifest, String location, long id)`
`State`
StateObjectFactory.`createState(State state)`
Creates a new state that is a copy of the given state.
`State`
StateObjectFactory.StateObjectFactoryProxy.`createState(State state)`
`void`
Resolver.`setState(State value)`
Sets the state associated with this resolver.
`void`
StateObjectFactory.StateObjectFactoryProxy.`writeState(State state, DataOutputStream stream)`
Deprecated.
`void`
StateObjectFactory.StateObjectFactoryProxy.`writeState(State state, File stateDirectory)`
`void`
StateObjectFactory.StateObjectFactoryProxy.`writeState(State state, OutputStream stream)`
Deprecated.
`void`
StateObjectFactory.`writeState(State state, DataOutputStream stream)`
Deprecated.
use `StateObjectFactory.writeState(State, File)` instead
`void`
StateObjectFactory.`writeState(State state, File stateDirectory)`
Persists the given state in the given directory.
`void`
StateObjectFactory.`writeState(State state, OutputStream stream)`
Deprecated.
use `StateObjectFactory.writeState(State, File)` instead