Ambition.ActionBuilder – ambition Reference Manual
Packages
ambition
Ambition
ActionBuilder
ActionBuilder
build_action_block
is_valid_action_line
normalize_controller
parse_action_configuration
parse_action_line
pathify_controller
run
ActionBuilder
Object Hierarchy:
Description:
public
class
ActionBuilder
:
Object
Parses action configuration to create an Actions generator.
Namespace:
Ambition
Package:
ambition
Content:
Creation methods:
public
ActionBuilder
()
Methods:
public
void
run
(
string
target_namespace,
string
source_directory,
string
destination_directory)
throws
ActionBuilderError
Generate an actions file.
public
string
?
parse_action_configuration
(
string
source_directory,
string
action_file)
throws
ActionBuilderError
Parse the given action configuration and return valid Vala code to generate routes.
public
string
?
build_action_block
(
HashSet
<
string
> controllers,
ArrayList
<
string
> actions)
public
string
?
parse_action_line
(
string
line,
HashSet
<
string
> controllers)
throws
ActionBuilderError
public
MatchInfo
?
is_valid_action_line
(
string
line)
Determine if action line matches the relatively loose regex check. Return a MatchInfo if valid, null if invalid.
public
string
normalize_controller
(
string
controller_name)
public
string
pathify_controller
(
string
controller_name)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count