Snapd.Change¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Error associated with change |
||
r/w/co |
ID of change |
||
r/w/co |
Kind of change |
||
r/w/co |
|
||
r/w/co |
Time this change completed |
||
r/w/co |
Time this change started |
||
r/w/co |
Status of change |
||
r/w/co |
Summary of change |
||
r/w/co |
Tasks in this change |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.Change(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.Change
contains information on a current Snap transaction.New in version 1.5.
- get_error()¶
-
Gets the error string associated with this change.
New in version 1.30.
- get_kind()¶
- Returns:
the kind of change.
- Return type:
Gets the kind of change this is.
New in version 1.5.
- get_ready()¶
-
Get if this change is completed.
New in version 1.5.
- get_ready_time()¶
- Returns:
a
GLib.DateTime
orNone
.- Return type:
Get the time this task completed or
None
if not yet completed.New in version 1.5.
- get_spawn_time()¶
- Returns:
- Return type:
Get the time this change started.
New in version 1.5.
- get_status()¶
- Returns:
a status string.
- Return type:
Get the status of the change.
New in version 1.5.
- get_summary()¶
- Returns:
a string describing the change.
- Return type:
Get a human readable description of the change.
New in version 1.5.
- get_tasks()¶
- Returns:
an array of
Snapd.Task
.- Return type:
Get the tasks that are in this change.
New in version 1.5.
Property Details¶
- Snapd.Change.props.error¶
- Name:
error
- Type:
- Default Value:
- Flags:
Error associated with change
- Snapd.Change.props.id¶
- Name:
id
- Type:
- Default Value:
- Flags:
ID of change
- Snapd.Change.props.kind¶
- Name:
kind
- Type:
- Default Value:
- Flags:
Kind of change
- Snapd.Change.props.ready_time¶
- Name:
ready-time
- Type:
- Default Value:
- Flags:
Time this change completed
- Snapd.Change.props.spawn_time¶
- Name:
spawn-time
- Type:
- Default Value:
- Flags:
Time this change started
- Snapd.Change.props.status¶
- Name:
status
- Type:
- Default Value:
- Flags:
Status of change
- Snapd.Change.props.summary¶
- Name:
summary
- Type:
- Default Value:
- Flags:
Summary of change
- Snapd.Change.props.tasks¶
- Name:
tasks
- Type:
- Default Value:
- Flags:
Tasks in this change